Updated notification hotkeys

This commit is contained in:
Damien Broqua 2021-11-08 15:31:47 +01:00
parent d205c2bdb2
commit 51fa943644

View file

@ -198,8 +198,8 @@ bindsym $mod+c exec "$term -t 'Calendar' -e khal interactive"
# Dismiss last notification # Dismiss last notification
bindsym $mod+n exec makoctl dismiss bindsym $mod+n exec makoctl dismiss
# Do not disturb # Do not disturb
bindsym $mod+d exec makoctl set-mode do-not-disturb bindsym $mod+d exec "notify-send -i ~/icons/information.png 'Notification' 'Disabling notification…' && makoctl set-mode do-not-disturb"
bindsym $mod+Shift+d exec "makoctl set-mode default && makoctl restore" bindsym $mod+Shift+d exec "makoctl set-mode default && makoctl restore && notify-send -i ~/icons/information.png 'Notification' 'Notification enabled'"
# Multimedia keys # Multimedia keys
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%