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
|
if [[ $volume == 0 || "$mute" == "true" ]]; then
|
||||||
# Show the sound muted notification
|
# 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
|
else
|
||||||
# Show the volume notification
|
# Show the volume notification
|
||||||
dunstify -a "notify-on-volume" -u low -i audio-volume-high -r "$msgId" \
|
dunstify -a "notify-on-volume" -u low -r "$msgId" -h int:value:"$volume" "Volume: ${volume}%"
|
||||||
-h int:value:"$volume" "Volume: ${volume}%"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
canberra-gtk-play -i audio-volume-change -d "notify-on-volume"
|
canberra-gtk-play -i audio-volume-change -d "notify-on-volume"
|
||||||
|
|||||||
Reference in New Issue
Block a user