diff options
Diffstat (limited to '.config/eww')
-rwxr-xr-x | .config/eww/scripts/dispatch.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.config/eww/scripts/dispatch.sh b/.config/eww/scripts/dispatch.sh deleted file mode 100755 index e40f883..0000000 --- a/.config/eww/scripts/dispatch.sh +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/bash - -activemonitor=$(hyprctl monitors -j | jq '.[] | select(.focused == true).id') -passivemonitor=$(hyprctl monitors -j | jq '.[] | select(.focused == false).id') -activews=$(hyprctl monitors -j | jq '.[] | select(.focused == true).activeWorkspace.id') -passivews=$(hyprctl monitors -j | jq '.[] | select(.focused == false).activeWorkspace.id') - -# Comment out all lines below except the last to switch back to the default Hyprland dispatch method -[[ $1 -eq $passivews ]] && [[ $passivemonitor != "$activemonitor" ]] && (hyprctl dispatch swapactiveworkspaces "$activemonitor $passivemonitor") -hyprctl dispatch moveworkspacetomonitor "$1 $activemonitor" -hyprctl dispatch focusmonitor "$activemonitor" -hyprctl dispatch workspace "$1" |