Remove -i flag from dunstify call
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user