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

@@ -15,7 +15,7 @@ bindsym XF86AudioNext exec --no-startup-id mpc next
# font for window titles. ISO 10646 = Unicode
font pango:DejaVu Sans Mono 11
bindsym $mod+o exec --no-startup-id "bash -c '~/development/projects/xautorandr/xautorandr.sh ; kill -SIGUSR2 $(cat $HOME/.var/run/wallchanger.pid)'"
bindsym $mod+o exec --no-startup-id "bash -c '~/development/projects/xautorandr/xautorandr ; kill -SIGUSR2 $(cat $HOME/.var/run/wallchanger.pid)'"
bindsym $mod+p exec --no-startup-id "bash -c 'kill -SIGUSR1 $(cat $HOME/.var/run/wallchanger.pid)'"

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=$(