From d0ac25ce86841927840f8310ac54591bc4d73d5d Mon Sep 17 00:00:00 2001 From: inkch Date: Tue, 14 Jan 2025 19:10:04 +0900 Subject: [PATCH] i3: using `light` instead of `xbacklight` --- dot_config/i3/config.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 5f96a6d..298ea71 100644 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -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