i meant i updated bar toggling. that in fact already a feature, just badly implemented
parent
bfa937e954
commit
05a0d58506
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/bin/eww daemon
|
/usr/bin/eww daemon
|
||||||
|
|
||||||
GTK_THEME=Default
|
GTK_THEME=cyberqueer
|
||||||
|
|
||||||
monitorsum=$(hyprctl monitors | grep ID | wc -l)
|
monitorsum=$(hyprctl monitors | grep ID | wc -l)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,33 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
statecon=$(eww state | xargs)
|
#statecon=$(eww state | xargs)
|
||||||
echo $statecon
|
#echo $statecon
|
||||||
if [[ -z `echo $statecon` ]] ;then
|
#if [[ -z `echo $statecon` ]] ;then
|
||||||
~/Dotfiles/desktopenvs/hyprland/scripts/monitorhandler.sh
|
# ~/Dotfiles/desktopenvs/hyprland/scripts/monitorhandler.sh
|
||||||
|
#else
|
||||||
|
# eww close-all
|
||||||
|
#fi
|
||||||
|
GTK_THEME=cyberqueer
|
||||||
|
|
||||||
|
monitorsum=$(hyprctl monitors | grep ID | wc -l)
|
||||||
|
|
||||||
|
statecon=$(eww active-windows)
|
||||||
|
notify-send $statecon
|
||||||
|
if [ "$statecon" != '' ]; then
|
||||||
|
|
||||||
|
for i in $(seq 1 $monitorsum);
|
||||||
|
do
|
||||||
|
declare -i curmon=$i-1
|
||||||
|
/usr/bin/eww open --toggle bar$curmon
|
||||||
|
done
|
||||||
|
|
||||||
else
|
else
|
||||||
eww close-all
|
|
||||||
|
for i in $(seq 1 $monitorsum);
|
||||||
|
do
|
||||||
|
declare -i curmon=$i-1
|
||||||
|
/usr/bin/eww open bar --id bar$curmon --arg monitor=$curmon
|
||||||
|
done
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue