aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-02-11 12:46:34 +0300
committereug-vs <eug-vs@keemail.me>2021-02-11 12:46:34 +0300
commit196decfdc0d211d445a044efd2c530102b3661a9 (patch)
tree03f7a246b943dce507843706b951b597a1673e6b
parente5e39b483ea9301043a3c8363b69207bb63ae7e8 (diff)
downloaddotfiles-196decfdc0d211d445a044efd2c530102b3661a9.tar.gz
feat: make brightness keys work
-rw-r--r--.config/i3/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 79dab70..de6d630 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -25,6 +25,9 @@ bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioNext exec playerctl next
+# Use XBackLight to respond to brightness keys
+bindsym XF86MonBrightnessUp exec --no-startup-id "xbacklight -inc 10"
+bindsym XF86MonBrightnessDown exec --no-startup-id "xbacklight -dec 10"
# Screenshot via ImageMagick
bindsym --release Shift+Print exec --no-startup-id screenshot.sh