From c994f8334bcd983eb6a53ff15073e5f673fa72ea Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Tue, 27 Aug 2024 17:43:54 -0700 Subject: [PATCH] Add dunst controls to sway shortcuts --- .config/sway/config | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 85a250e..ad3b401 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -59,6 +59,15 @@ bindsym $mod+Shift+Return exec "thunar" # open clipboard selection in mpv, for grabbng links from chat/email bindsym $mod+m exec "mpv --loop --wayland-app-id=mpv__tv --image-display-duration=inf --force-window --title=`wl-paste` `wl-paste`" +# re-display the last dunst notification +bindsym $mod+Grave exec "dunstctl history-pop" + +# action the last dunst notification +bindsym $mod+Shift+Grave exec "dunstctl action" + +# clear dunst notifications +bindsym $mod+Escape exec "dunstctl close-all" + # change focus bindsym $mod+Left focus left bindsym $mod+Down focus down