dotfiles/dunst/.config/herbstluftwm/autostart.d/dunst.sh
Tom Willemse 55be69cca8 Mode dunst keyboard shortcuts
The keyboard shortcuts defined in the configuration file have been deprecated,
instead dunst now comes with a ‘dunstctl’ command that should be used.
2020-11-13 23:21:48 -08:00

10 lines
292 B
Bash
Executable file

#!/usr/bin/env zsh
if ! whence hc; then
hc() { herbstclient "$@"; }
fi
hc keybind Mod4-apostrophe spawn dunstctl close
hc keybind Mod4-quotedbl spawn dunstctl close-all
hc keybind Mod4-Control-apostrophe spawn dunstctl history-pop
hc keybind Mod4-Mod1-apostrophe spawn dunstctl context