Update backlight status more immediately-ish

with a USR1 to i3status
This commit is contained in:
Dan Buch 2017-08-27 10:06:41 -04:00
parent 2cf9dc1d16
commit 28d310428a
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
2 changed files with 5 additions and 2 deletions

View File

@ -106,8 +106,8 @@ bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -1000
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +1000
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
bindsym XF86MonBrightnessDown exec xbacklight -5
bindsym XF86MonBrightnessUp exec xbacklight +5
bindsym XF86MonBrightnessDown exec ~/.i3status-update-do xbacklight -5
bindsym XF86MonBrightnessUp exec ~/.i3status-update-do xbacklight +5
bindsym XF86Calculator exec i3lock -c ed1c24
bindsym XF86Tools exec xfce4-screenshooter

3
i3status-update-do Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
"$@"
exec kill -USR1 $(pidof i3status)