Add script for monitoring machines to keep the screen on

This commit is contained in:
Nico Schottelius 2022-03-23 19:33:39 +01:00
parent 42cf4c291a
commit 72fa4f22d0
1 changed files with 9 additions and 0 deletions

9
screen-always-on Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ $# -ge 1 ]; then
xset +dpms
xautolock -enable
else
xset -dpms
xautolock-disable
fi