Browse Source

Add shortcut to maximize or minimize luminosity

Can avoid many keystrokes when goin into a very sunny room or a very
dark room.
DricomDragon 4 years ago
parent
commit
885d1935ea
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Install/Templates/home/config/i3/config

+ 4 - 0
Install/Templates/home/config/i3/config

@@ -56,6 +56,10 @@ bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +
 bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -$vol_fine_step
 
 # LUMINOSITY
+# total adjustment
+bindsym $mod+Shift+XF86MonBrightnessUp exec --no-startup-id xbacklight -set 100
+bindsym $mod+Shift+XF86MonBrightnessDown exec --no-startup-id xbacklight -set 1
+
 # macro adjustement
 set $lum_big_step 5
 bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc $lum_big_step