Enable backlight keys on petalius

This commit is contained in:
Gabriel Ebner 2020-07-16 14:31:35 +02:00
parent 9ba3e7773f
commit 19a032594b
1 changed files with 7 additions and 8 deletions

View File

@ -61,14 +61,13 @@ forloop([i], 1,9, [
# bindsym $mod+Shift+c reload
bindsym $mod+Shift+r exec bash -c "sleep 1; swaymsg reload"
# TODO
# ifelse(hostname, [petalius], [
# # brightness control
# bindsym XF86MonBrightnessDown exec light -U 10
# bindsym XF86MonBrightnessUp exec light -A 10
# bindsym Shift+XF86MonBrightnessDown exec light -U 1
# bindsym Shift+XF86MonBrightnessUp exec light -A 1
# ])
ifelse(hostname, [petalius], [
# brightness control
bindsym XF86MonBrightnessDown exec light -U 10
bindsym XF86MonBrightnessUp exec light -A 10
bindsym Shift+XF86MonBrightnessDown exec light -U 1
bindsym Shift+XF86MonBrightnessUp exec light -A 1
])
# resize window (you can also use the mouse for that)
mode "resize" {