From 162dc3962723554483e6051302d7edbf3aebdf69 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Mon, 5 Apr 2021 21:01:22 +0700 Subject: [PATCH] chore(config): aadjust brightness in i3 --- config/i3/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/i3/config b/config/i3/config index c33058c..d81629e 100644 --- a/config/i3/config +++ b/config/i3/config @@ -18,6 +18,10 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status +# adjust brightness +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 + # use Mouse+$mod to move floating windows floating_modifier $mod