Files
dotfiles/Scripts/.local/scripts/screentimer

10 lines
138 B
Bash
Executable File

#!/usr/bin/env sh
if [ "$1" = "on" ]
then
xset +dpms s 1800 s noblank;
elif [ "$1" = "off" ]
then
xset -dpms s off s noblank;
fi