added modules to waybar

This commit is contained in:
2025-08-09 15:32:12 +02:00
parent 134a0ff79a
commit 283a649486
15 changed files with 223 additions and 264 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env sh
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
echo '{"text": "Gamemode", "tooltip": "Gamemode deactivated"}'
else
echo '{"text": "Gamemode", "tooltip": "Gamemode activated", "class": "active"}'
fi