From 2ac874c47b88ddd246dc6a75a3133543dee11cb4 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 15 Nov 2021 12:59:22 +0100 Subject: mako: use event hooks to play sounds and trigger notifmenu --- .config/mako/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.config/mako/config') diff --git a/.config/mako/config b/.config/mako/config index 21b45ba..129a127 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -17,16 +17,28 @@ progress-color=source #0b346edd group-by=app-name default-timeout=3000 +max-visible=6 history=1 max-history=20 +on-button-middle=exec notifmenu $id + [urgency=high] border-color=#cb1b45dd +on-notify=exec pw-play --media-role=event --volume=0.5 $HOME/Music/sounds/basementarcade/qbert-bonk.wav [category=error] border-color=#cb1b45dd +on-notify=exec pw-play --media-role=event --volume=0.5 $HOME/Music/sounds/basementarcade/tapper-43.wav + [category=warning] border-color=#f7d94cdd +on-notify=exec pw-play --media-role=event --volume=0.5 $HOME/Music/sounds/basementarcade/tapper-22.wav + [category=success] border-color=#227d51dd +on-notify=exec pw-play --media-role=event --volume=0.5 $HOME/Music/sounds/basementarcade/tapper-02.wav + +[mode=off] +invisible=1 -- cgit 1.4.1