From b4d8d52270aacf633d2e8b85680fa78f91d220b8 Mon Sep 17 00:00:00 2001 From: inkch Date: Fri, 15 Mar 2024 15:35:19 +0900 Subject: [PATCH] i3: assign keys for adjusting display brightness --- dot_config/i3/config.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 7e192df..a9e11e7 100644 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -179,6 +179,11 @@ bindsym XF86Launch8 resize grow width 10 px 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 +{{ end }} + bindsym $m+bracketleft move left; resize set width 20 ppt bindsym $m+bracketright move right; resize set width 80 ppt