limit sound notifications to my stuff
authorIan Kelling <ian@iankelling.org>
Mon, 11 Dec 2023 13:43:27 +0000 (08:43 -0500)
committerIan Kelling <ian@iankelling.org>
Mon, 11 Dec 2023 13:45:37 +0000 (08:45 -0500)
brc
subdir_files/.config/dunst/dunstrc

diff --git a/brc b/brc
index aaaf87ce3e2156f9c9dd3916f622ed1ca1ed2414..742dcee0e958267a4fbb7856b86509eae08bd948 100644 (file)
--- a/brc
+++ b/brc
@@ -2795,11 +2795,11 @@ lsc() {
 # run then notify. close notification after the next prompt.
 rn() {
   "$@"
-  dunstify -u critical "$*"
+  dunstify -u critical -h string:x-dunst-stack-tag:profanity "$*"
   _psrun=(dunstctl close-all)
 }
 n() {
-  dunstify -u critical n
+  dunstify -u critical -h string:x-dunst-stack-tag:profanity n
   _psrun=(dunstctl close-all)
 }
 
index d0be228f2beff3c9dd3db204bf6b91e88a0a3e5d..9e72d5747da55d3a5e48b23340a798a1d59a5876 100644 (file)
@@ -70,7 +70,7 @@
 # above are the defaults from t11 in /etc/xdg/dunst/dunstrc
 
 [play_sound]
-    summary = "*"
+    stack_tag = "profanity"
     script = /b/ds/sound-alert