adding toggle hypridle
This commit is contained in:
parent
a81300e84b
commit
e63cfd3f72
7
scripts/toggle-idle
Normal file
7
scripts/toggle-idle
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
currentdir=$(pgrep hypridle)
|
||||
if [[ $idle > 0 ]]; then
|
||||
kill $idle
|
||||
else
|
||||
hypridle &
|
||||
fi
|
Loading…
Reference in a new issue