Add script for monitoring machines to keep the screen on
This commit is contained in:
parent
42cf4c291a
commit
72fa4f22d0
1 changed files with 9 additions and 0 deletions
9
screen-always-on
Normal file
9
screen-always-on
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ $# -ge 1 ]; then
|
||||||
|
xset +dpms
|
||||||
|
xautolock -enable
|
||||||
|
else
|
||||||
|
xset -dpms
|
||||||
|
xautolock-disable
|
||||||
|
fi
|
Loading…
Reference in a new issue