So, I am trying to set shortcuts in dunst, specifically for “Close Notification”. I’ve tried every possibilty: ctrl-space, mod1+space, mod4+space (mod4 [windowskey]) is my modkey for i3 but I’ve made sure space in not mapped there to anything. Still no dice. I do a “notify-send”, and hit the shortcut for “close” but the notification does not close. I’ve been banging my head against this for too long now. Does anyone have any idea?
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
…is part of my .config/dunst/dunstrc …So I was assuming this was going to work, but for whatever reason I can’t get these to work.
Your solution of adding “dunstctl” commands and binding them to i3 key-shortcuts works great. Thanks a bunch