bin -> eww-bard: Change widget opening order to fix CLS

This commit is contained in:
GaspardCulis 2024-03-24 10:10:04 +01:00
parent 2e0dbec041
commit 282bfee99a

View file

@ -1,8 +1,5 @@
#!/bin/dash #!/bin/dash
# Start initial widgets
eww open-many timer music
# Monitor duplication daemon # Monitor duplication daemon
WIDGET_NAME=bar WIDGET_NAME=bar
@ -43,7 +40,12 @@ update (){
fi fi
} }
# Open bar
update update
# Open other widgets
eww open-many timer music
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
update update
done done