mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-30 14:34:34 +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
|