8 lines
102 B
Bash
8 lines
102 B
Bash
#!/bin/sh
|
|
currentdir=$(pgrep hypridle)
|
|
if [[ $idle > 0 ]]; then
|
|
kill $idle
|
|
else
|
|
hypridle &
|
|
fi
|