chore: removed unused swaync idle inhibitor scripts

This commit is contained in:
2025-09-22 17:52:54 +03:00
parent e251ac2fff
commit 9362e2dad2
2 changed files with 0 additions and 11 deletions

View File

@@ -1 +0,0 @@
pgrep hypridle && echo false || echo true

View File

@@ -1,10 +0,0 @@
kill -0 $(<\"$XDG_RUNTIME_DIR/swaync-idle.pid\") && echo true || echo false
if [ $1 == "on" ]; then
pkill hypridle
systemd-inhibit --why='User request via swaync' --what=sleep:handle-lid-switch sh -c 'echo \"$$\" > \"$XDG_RUNTIME_DIR/swaync-idle.pid\"; while true; do sleep 3600; done'
elif [ $2 == "off" ]; then
hypridle & disown
kill $(<\"$XDG_RUNTIME_DIR/swaync-idle.pid\")
else
exit 1
fi