diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-02-07 20:19:43 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-02-07 20:19:43 +0000 |
commit | d97abc080404976d1d43df7605aa770a3825c438 (patch) | |
tree | 05db7bb9604ae98805ac8e9e6f5b4bb4aefe3643 | |
parent | d1ca9c43aa55859d08ff3b57e2ee676975c30648 (diff) |
Removed now uneeded bash script dispatch.sh
-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" |