From 862daf948f94660734f33ca965126ffcc581c836 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 21 Jan 2025 11:00:18 +0100 Subject: dunst: convert notifications to urgency hints --- dunst/dunst/dunstrc | 10 ++++++++++ dunst/dunst/set-urgent.sh | 1 + 2 files changed, 11 insertions(+) create mode 100755 dunst/dunst/set-urgent.sh 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 -- cgit v1.2.3