Setup script to init/tear down a screen timer for autolocking

This commit is contained in:
2025-10-23 02:23:31 +01:00
parent dd3932ec1c
commit 4debe52aab
3 changed files with 18 additions and 1 deletions

View 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