aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-02-07 20:19:43 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-02-07 20:19:43 +0000
commitd97abc080404976d1d43df7605aa770a3825c438 (patch)
tree05db7bb9604ae98805ac8e9e6f5b4bb4aefe3643
parentd1ca9c43aa55859d08ff3b57e2ee676975c30648 (diff)
Removed now uneeded bash script dispatch.sh
-rwxr-xr-x.config/eww/scripts/dispatch.sh12
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"