rework of IdleButton

This commit is contained in:
Hannes
2026-08-22 21:35:43 +02:00
parent 896264c062
commit 9f8d774efd
6 changed files with 24 additions and 47 deletions
-14
View File
@@ -1,14 +0,0 @@
if [ "$1" = "--status" ]; then
if pgrep -x "hypridle" >/dev/null; then
echo 1
else
echo 0
fi
exit 0
fi
if pgrep -x "hypridle" >/dev/null; then
killall hypridle
else
hypridle &
fi