From 4debe52aabaa5d62ad2560f9d5f57bec98b4d9c1 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 23 Oct 2025 02:23:31 +0100 Subject: Setup script to init/tear down a screen timer for autolocking --- Scripts/.local/scripts/screentimer | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 Scripts/.local/scripts/screentimer (limited to 'Scripts') 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 -- cgit v1.2.3-13-gbd6f