adding toggle hypridle

This commit is contained in:
Chris Cochrun 2024-08-21 11:35:44 -05:00
parent a81300e84b
commit e63cfd3f72

7
scripts/toggle-idle Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
currentdir=$(pgrep hypridle)
if [[ $idle > 0 ]]; then
kill $idle
else
hypridle &
fi