diff --git a/.config/i3/config b/.config/i3/config index 03a7d8f..dd15906 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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