i3: move to brightnessctl from custom script
This commit is contained in:
@@ -240,8 +240,8 @@ for_window [class="^Chrome$" title=" - Chromium$"] border none
|
||||
bindsym XF86Calculator exec --no-startup-id gnome-calculator
|
||||
|
||||
# Sreen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec ~/.local/bin/brightness.sh +10 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec ~/.local/bin/brightness.sh -10 # decrease screen brightness
|
||||
bindsym XF86MonBrightnessUp exec sudo brightnessctl s 10\%+ # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec sudo brightnessctl s 10\%- # decrease screen brightness
|
||||
|
||||
# Media player controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
|
||||
Reference in New Issue
Block a user