summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-11-13 10:31:39 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-11-13 10:31:39 +0100
commit76313e15f6260327bbdf125c2f9c1cae04d0a598 (patch)
tree4b3a762f5131c3e9202ed834381a40cee906dae4 /i3
parent9f812015c44539f2bd598f45ef1adab43c884d7b (diff)
i3: add keyboard backlight controlguix
Diffstat (limited to 'i3')
-rw-r--r--i3/i3/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/i3/i3/config b/i3/i3/config
index edabe63..5d12ce4 100644
--- a/i3/i3/config
+++ b/i3/i3/config
@@ -41,6 +41,12 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT
bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness
+# Keyboard led control
+# TODO: toggle
+bindsym XF86KbdLightOnOff exec light -s sysfs/leds/rgb:kbd_backlight -T 0
+bindsym XF86KbdBrightnessDown exec light -s sysfs/leds/rgb:kbd_backlight -U 5
+bindsym XF86KbdBrightnessUp exec light -s sysfs/leds/rgb:kbd_backlight -A 5
+
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod