dotfiles/bin/noidle
2021-01-03 09:29:27 -08:00

9 lines
166 B
Bash
Executable file

#!/bin/bash
pkill swayidle
RT=$?
if [ $RT -eq 0 ]
then
notify-send -t 1000 noidle "Screensaver disabled"
else
notify-send noidle "Unable to disable screensaver"
fi