mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 04:07:18 +00:00
10 lines
192 B
Plaintext
10 lines
192 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if pgrep swayidle >/dev/null; then
|
||
|
killall swayidle
|
||
|
notify-send "Idle" "Idle timeouts disabled"
|
||
|
else
|
||
|
swayidle & disown
|
||
|
notify-send "Idle" "Idle timeouts enabled"
|
||
|
fi
|