fixes of binds and dispatcher

This commit is contained in:
Honney
2026-06-14 23:22:06 +02:00
parent e37b943e80
commit bbfcf7fad7
2 changed files with 14 additions and 9 deletions
+10 -5
View File
@@ -87,7 +87,9 @@ while true; do
echo "[INFO] Found $CLASS -> $WIN (workspace $WORKSPACE)"
hyprctl dispatch movetoworkspacesilent "$WORKSPACE,address:$WIN"
hyprctl dispatch "hl.dsp.window.move({workspace = \"$WORKSPACE\", follow = false, window = \"address:$WIN\"})"
# echo "hyprctl dispatch 'hl.dsp.window.move({workspace = \"$WORKSPACE\", follow = false, window = \"address:$WIN\"})'"
# hyprctl dispatch movetoworkspacesilent "$WORKSPACE,address:$WIN"
DONE["$CLASS"]=1
done
@@ -100,9 +102,12 @@ while true; do
sleep 0.5
done
hyprctl dispatch workspace 4
hyprctl dispatch workspace 3
hyprctl dispatch workspace 2
hyprctl dispatch workspace 1
for i in 4 3 2 1; do
hyprctl dispatch "hl.dsp.focus({workspace = \"$i\"})"
done
# hyprctl dispatch workspace 4
# hyprctl dispatch workspace 3
# hyprctl dispatch workspace 2
# hyprctl dispatch workspace 1
tmux new-session -d -s qs 'sleep 4 && quickshell'