summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2025-01-21 11:00:18 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2025-01-21 11:00:18 +0100
commit862daf948f94660734f33ca965126ffcc581c836 (patch)
treecca5d7f6dfd9cc445c21e653848842b4851335e1
parente9d7df16d0c5e6f006bdee0e7f0fe4f158f4b667 (diff)
dunst: convert notifications to urgency hintsguix
-rw-r--r--dunst/dunst/dunstrc10
-rwxr-xr-xdunst/dunst/set-urgent.sh1
2 files changed, 11 insertions, 0 deletions
diff --git a/dunst/dunst/dunstrc b/dunst/dunst/dunstrc
index 12a0973..12c2b40 100644
--- a/dunst/dunst/dunstrc
+++ b/dunst/dunst/dunstrc
@@ -3,3 +3,13 @@
dmenu = /usr/bin/env dmenu -p dunst
browser = xdg-open
+
+# Hide entries but set urgency hint in app
+[Dino]
+ appname = Dino
+ format = ""
+ script = $HOME/.config/dunst/set-urgent.sh
+[Daily]
+ appname = Daily
+ format = ""
+ script = $HOME/.config/dunst/set-urgent.sh
diff --git a/dunst/dunst/set-urgent.sh b/dunst/dunst/set-urgent.sh
new file mode 100755
index 0000000..02cbbb2
--- /dev/null
+++ b/dunst/dunst/set-urgent.sh
@@ -0,0 +1 @@
+wmctrl -r $1 -b add,demands_attention