From dfc9f960f07793250e05362df28c9f727feb0076 Mon Sep 17 00:00:00 2001 From: katherine Date: Tue, 15 Apr 2025 16:45:39 +1000 Subject: update dunst config --- .config/herbstluftwm/mpc-status.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/herbstluftwm/mpc-status.sh') diff --git a/.config/herbstluftwm/mpc-status.sh b/.config/herbstluftwm/mpc-status.sh index f1c8130..221b0a9 100755 --- a/.config/herbstluftwm/mpc-status.sh +++ b/.config/herbstluftwm/mpc-status.sh @@ -15,12 +15,12 @@ esac mpc status >/dev/null 2>&1 if [[ $? -ne 0 ]]; then - dunstify -r 109112100 "mpd disconnected" + dunstify -h string:x-dunst-stack-tag:mpd "mpd disconnected" exit fi if [[ -z $(mpc status | grep -E '\[(playing|paused)\]') ]]; then - dunstify -r 109112100 "mpd stopped" + dunstify -h string:x-dunst-stack-tag:mpd "mpd stopped" exit fi @@ -30,4 +30,4 @@ message="$(mpc current -f '##%track% %title% (%date%)\n%artist% - %album%') $(mpc status | tail -n -2 | sed -re 's/volume.*repeat/\nrepeat/' -e 's/( ){3,4}/\n/g' -e '/volume: /d')" -dunstify -t 4000 -r 109112100 --icon="$HOME/music/$dir/cover-small.png" $message +dunstify -t 4000 -h string:x-dunst-stack-tag:mpd --icon="$HOME/music/$dir/cover-small.png" $message -- cgit v1.2.3