9 lines
166 B
Bash
Executable file
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
|