mirror of
https://github.com/10h30/endeavouros-i3wm-setup.git
synced 2026-07-11 18:55:54 +09:00
Brightness notifications now correctly show single and triple digit percentages.
This commit is contained in:
+2
-2
@@ -199,8 +199,8 @@ bindsym F1 exec ~/.config/i3/scripts/keyhint-2
|
||||
# bindsym $mod+F1 exec xed ~/.config/i3/keybindings
|
||||
|
||||
# Backlight control
|
||||
bindsym XF86MonBrightnessUp exec xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -c1-2)%"
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -c1-2)%"
|
||||
bindsym XF86MonBrightnessUp exec xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%"
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%"
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
|
||||
Reference in New Issue
Block a user