corrected togglebar script

main
The_miro 2025-09-16 21:00:20 +02:00
parent 005fe1e2d6
commit 3fa7982289
1 changed files with 1 additions and 1 deletions

View File

@ -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