[FIX][I3] Replace brightness notification message
Dunst can overwrite a notification if we give it an id (an integer value) or a name (a string). This allows for displaying a single notification when incrementing/decrementing the brightness multiple times in a quick succession.
This commit is contained in:
parent
044f5f4c14
commit
518959fb9f
|
@ -256,8 +256,8 @@ bindsym XF86Tools exec toggle_touchpad
|
|||
bindsym XF86Display exec arandr
|
||||
|
||||
# Bind sreen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 && notify-send -t 500 -u low "Increment brightness: $(printf '%.0f' `xbacklight -get`)%"
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 && notify-send -t 500 -u low "Decrement brightness: $(printf '%.0f' `xbacklight -get`)%"
|
||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 && notify-send -h string:x-canonical-private-synchronous:bright -t 500 -u low "Increment brightness: $(printf '%.0f' `xbacklight -get`)%"
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 && notify-send -h string:x-canonical-private-synchronous:bright -t 500 -u low "Decrement brightness: $(printf '%.0f' `xbacklight -get`)%"
|
||||
|
||||
# Auto start system tray applets
|
||||
exec --no-startup-id blueman-applet
|
||||
|
|
Loading…
Reference in a new issue