nsbin/screen-always-on

10 lines
113 B
Text
Raw Normal View History

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