Update dotfiles (2026-05-08 15:35:43)

This commit is contained in:
2026-05-08 15:35:43 +02:00
parent 362e7e51a5
commit afd1b5bd53
77 changed files with 127 additions and 347 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
SERVICE="hypridle"
if [[ "$1" == "status" ]]; then
sleep 1
if pgrep -x "$SERVICE" >/dev/null ;then
echo '{"text": "RUNNING", "class": "active", "tooltip": "Screen locking active\nLeft: Deactivate\nRight: Lock Screen"}'
else
echo '{"text": "NOT RUNNING", "class": "notactive", "tooltip": "Screen locking deactivated\nLeft: Activate\nRight: Lock Screen"}'
fi
fi
if [[ "$1" == "toggle" ]]; then
if pgrep -x "$SERVICE" >/dev/null ;then
killall hypridle
else
hypridle
fi
fi