From 0d347f93336619d663f1f3cdd771b92df390c494 Mon Sep 17 00:00:00 2001
From: Ian Kelling <ian@iankelling.org>
Date: Mon, 11 Dec 2023 08:43:27 -0500
Subject: [PATCH] limit sound notifications to my stuff

---
 brc                                | 4 ++--
 subdir_files/.config/dunst/dunstrc | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/brc b/brc
index aaaf87c..742dcee 100644
--- 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)
 }
 
diff --git a/subdir_files/.config/dunst/dunstrc b/subdir_files/.config/dunst/dunstrc
index d0be228..9e72d57 100644
--- a/subdir_files/.config/dunst/dunstrc
+++ b/subdir_files/.config/dunst/dunstrc
@@ -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
 
 
-- 
2.30.2