From a643341995979e65291a01965e59ac58e3702f3b Mon Sep 17 00:00:00 2001 From: finga Date: Fri, 23 Jun 2023 11:12:07 +0200 Subject: [PATCH] dunst: Add keybindings for dunst In order to control dunst from the keyboard create some keybindings. --- .config/i3/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index b393390..ffbc375 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -165,6 +165,11 @@ bindsym XF86AudioPlay exec --no-startup-id mpc toggle bindsym XF86AudioPrev exec --no-startup-id mpc prev bindsym XF86AudioStop exec --no-startup-id mpc stop +# dunst control +bindsym $mod+period exec dunstctl close +bindsym $mod+Shift+period exec dunstctl close-all +bindsym $mod+grave exec dunstctl history-pop + # open login screen on another vt (virtual terminal) bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"