From 878ed3a0d2115c078b4b2b1de13c25eedad1aa8f 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 d105d4a..f30977d 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"