From 55be69cca8472b2a39f0d5bb00b5c5287fa62843 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 13 Nov 2020 23:21:48 -0800 Subject: 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. --- dunst/.config/herbstluftwm/autostart.d/dunst.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 dunst/.config/herbstluftwm/autostart.d/dunst.sh (limited to 'dunst/.config/herbstluftwm/autostart.d/dunst.sh') diff --git a/dunst/.config/herbstluftwm/autostart.d/dunst.sh b/dunst/.config/herbstluftwm/autostart.d/dunst.sh new file mode 100755 index 0000000..384706a --- /dev/null +++ b/dunst/.config/herbstluftwm/autostart.d/dunst.sh @@ -0,0 +1,10 @@ +#!/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 -- cgit v1.2.3-54-g00ecf