Setup script to init/tear down a screen timer for autolocking
This commit is contained in:
9
Scripts/.local/scripts/screentimer
Executable file
9
Scripts/.local/scripts/screentimer
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user