diff --git a/desktopenvs/hyprland/scripts/togglebar.sh b/desktopenvs/hyprland/scripts/togglebar.sh index c7b2360..13a939d 100755 --- a/desktopenvs/hyprland/scripts/togglebar.sh +++ b/desktopenvs/hyprland/scripts/togglebar.sh @@ -10,7 +10,7 @@ GTK_THEME=cyberqueer monitorsum=$(hyprctl monitors | grep ID | wc -l) -actmon=$(hyprctl monitors | grep -B11 "focused: yes" | head -n1 | cut -d'(' -f 2 | cut -d' ' -f 2 | cut -d')' -f 1) +actmon=$(hyprctl monitors | grep -B12 "focused: yes" | head -n1 | cut -d'(' -f 2 | cut -d' ' -f 2 | cut -d')' -f 1) statecon=$(eww active-windows | grep "bar$actmon") #notify-send $statecon if [ "$statecon" != '' ]; then