aboutsummaryrefslogtreecommitdiffstats
path: root/dunst/.config/herbstluftwm/autostart.d/dunst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dunst/.config/herbstluftwm/autostart.d/dunst.sh')
-rwxr-xr-xdunst/.config/herbstluftwm/autostart.d/dunst.sh10
1 files changed, 10 insertions, 0 deletions
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