From 9685a085a79e42648750241ee342f0d28cb3beab Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Sat, 6 Nov 2021 18:27:09 +0300 Subject: [PATCH] Remove -i flag from dunstify call --- bin/notify-on-volume | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/notify-on-volume b/bin/notify-on-volume index 8c7bb5c..fe5d645 100755 --- a/bin/notify-on-volume +++ b/bin/notify-on-volume @@ -7,11 +7,10 @@ mute=$(pamixer --get-mute) if [[ $volume == 0 || "$mute" == "true" ]]; then # Show the sound muted notification - dunstify -a "notify-on-volume" -u low -i audio-volume-muted -r "$msgId" "Volume muted" + dunstify -a "notify-on-volume" -u low -r "$msgId" "Volume muted" else # Show the volume notification - dunstify -a "notify-on-volume" -u low -i audio-volume-high -r "$msgId" \ - -h int:value:"$volume" "Volume: ${volume}%" + dunstify -a "notify-on-volume" -u low -r "$msgId" -h int:value:"$volume" "Volume: ${volume}%" fi canberra-gtk-play -i audio-volume-change -d "notify-on-volume"