added brightness notification script

This commit is contained in:
Mike G 2024-10-06 13:13:35 -04:00
parent 246973759d
commit 273db9af59
3 changed files with 22 additions and 2 deletions

View file

@ -356,6 +356,12 @@
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
[Volume]
history_ignore = true
[Brightness]
history_ignore = true
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#

View file

@ -245,8 +245,8 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && /h
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && /home/emge/Scripts/volume-notif.sh
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && /home/emge/Scripts/volume-notif.sh
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFUALT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
bindsym XF86MonBrightnessDown exec brightnessctl set 5%- && /home/emge/Scripts/brightness_notif.sh
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ && /home/emge/Scripts/brightness_notif.sh
#
# Status Bar: