summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-05-25 21:50:36 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-05-25 21:50:36 +0200
commit882d60cd2c1c174333f89cc6fd0e759f03d1b09f (patch)
tree616e2e7131bf3cc83f479ab2ba2dcf8224b8d692
parenta7292aea5fa3a7a5e5385f1b3c38c5768671cb7a (diff)
Add lights control on i3
-rw-r--r--.config/i3/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 201f99b..bd31c31 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -102,6 +102,9 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $sink +5
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $sink -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $sink toggle
+bindsym XF86MonBrightnessUp exec light -A 1 # increase screen brightness
+bindsym XF86MonBrightnessDown exec light -U 1 # decrease screen brightness
+
# Screenshots
set $screenshot-name `date +%d%m%Y-%H%M%S.png`
bindsym Print exec "mate-screenshot -i"