mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 20:27:18 +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
|