aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/screentimer
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts/screentimer')
-rwxr-xr-xScripts/.local/scripts/screentimer9
1 files changed, 9 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/screentimer b/Scripts/.local/scripts/screentimer
new file mode 100755
index 0000000..5952dbc
--- /dev/null
+++ b/Scripts/.local/scripts/screentimer
@@ -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