From d97abc080404976d1d43df7605aa770a3825c438 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Wed, 7 Feb 2024 20:19:43 +0000 Subject: Removed now uneeded bash script dispatch.sh --- .config/eww/scripts/dispatch.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 .config/eww/scripts/dispatch.sh (limited to '.config/eww') 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" -- cgit v1.2.3