Compare commits

...

3 commits

3 changed files with 9 additions and 7 deletions

@ -1 +1 @@
Subproject commit 7a0cbd2d7ec36007905c63acd86f7d3f14da3d57 Subproject commit d74aad1ec164f0b0673e3f0317808634b096b63e

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

View file

@ -1,10 +1,10 @@
#!/usr/bin/env sh #!/usr/bin/env sh
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}') HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then if [ "$HYPRGAMEMODE" = "1" ] ; then
hyprctl --batch "\ hyprctl --batch "\
keyword animations:enabled 0;\ keyword animations:enabled 0;\
keyword decoration:drop_shadow 0;\ keyword decoration:drop_shadow 0;\
keyword decoration:blur 0;\ keyword decoration:blur:enabled 0;\
keyword general:gaps_in 0;\ keyword general:gaps_in 0;\
keyword general:gaps_out 0;\ keyword general:gaps_out 0;\
keyword general:border_size 1;\ keyword general:border_size 1;\