Remove -i flag from dunstify call

This commit is contained in:
2021-11-06 18:27:09 +03:00
parent 31e3cf4321
commit 9685a085a7

View File

@@ -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"