i3: using light instead of xbacklight

This commit is contained in:
inkch 2025-01-14 19:10:04 +09:00
parent 72c9da1463
commit d0ac25ce86

View File

@ -188,8 +188,10 @@ bindsym XF86TouchpadToggle resize shrink height 10 px
bindsym XF86TouchpadOn resize grow height 10 px
{{ if eq .chezmoi.hostname "buzz" }}
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +2
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -2
#bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +2
#bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -2
bindsym XF86MonBrightnessUp exec --no-startup-id doas light -A 0.1
bindsym XF86MonBrightnessDown exec --no-startup-id doas light -U 0.1
{{ end }}
bindsym $m+bracketleft move left; resize set width 20 ppt