summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-11-15 12:59:22 +0100
committerRobert Günzler <r@gnzler.io>2021-11-15 12:59:38 +0100
commit2ac874c47b88ddd246dc6a75a3133543dee11cb4 (patch)
tree94514488de8ccb238f529012f0bc454d152f5c73
parentcc69cba46547ad266b24b8f905d4a416e4e51647 (diff)
mako: use event hooks
to play sounds and trigger notifmenu
-rw-r--r--.config/mako/config12
1 files changed, 12 insertions, 0 deletions
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