i3: assign keys for adjusting display brightness

This commit is contained in:
inkch 2024-03-15 15:35:19 +09:00
parent 022845035e
commit b4d8d52270

View File

@ -179,6 +179,11 @@ bindsym XF86Launch8 resize grow width 10 px
bindsym XF86TouchpadToggle resize shrink height 10 px bindsym XF86TouchpadToggle resize shrink height 10 px
bindsym XF86TouchpadOn resize grow 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
{{ end }}
bindsym $m+bracketleft move left; resize set width 20 ppt bindsym $m+bracketleft move left; resize set width 20 ppt
bindsym $m+bracketright move right; resize set width 80 ppt bindsym $m+bracketright move right; resize set width 80 ppt