More changes.

This commit is contained in:
2014-08-19 13:49:19 +02:00
parent 46c9c6de47
commit 00c8fe6f61
10 changed files with 114 additions and 114 deletions

View File

@@ -69,6 +69,10 @@ case "$signal" in
log "[I] Shutting down."
systemctl poweroff
;;
screen-off)
log "[I] Turning screen off."
xset dpms force off
;;
*)
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
log "[E] Signal \"$signal\" unknown. Aborting."

View File

@@ -6,7 +6,8 @@ options=(
"suspend"
"hibernate"
"reboot"
"shutdown")
"shutdown"
"screen-off")
i=1
output=$(