mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-28 22:14:34 +00:00
10 lines
192 B
Bash
Executable file
10 lines
192 B
Bash
Executable file
#!/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
|