~ben/bin

6649bdf28c46615ca848d1520c453712b3c4066a — Ben Sima 11 months ago d9fc765
add power management script
1 files changed, 10 insertions(+), 0 deletions(-)

A powermgt
A powermgt => powermgt +10 -0
@@ 0,0 1,10 @@
#!/usr/bin/env bash

case "$1" in
    off)
        sleep 1; xset s off -dpms
        ;;
    on) sleep 1; xset s on +dpms
        ;;
    *) echo "usage: $0 [on|off]";;
esac