From b0c05d7aa480f171265a716bec0f8dbf86743689 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Mon, 1 Mar 2021 11:09:18 +0100 Subject: [PATCH] sway_volume: replace notification icon, again --- bin/sway_volume | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/sway_volume b/bin/sway_volume index 919f800..644f24d 100755 --- a/bin/sway_volume +++ b/bin/sway_volume @@ -3,8 +3,10 @@ source $HOME/.config/sway/bin/sway_helpers SINK=$(pactl info | grep "Default Sink" | cut -d ' ' -f 3) ICON_PATH=$HOME/.local/share/icons/Tela-circle-dark/16/actions NOTIFY_APP="dunstify -a volume -h string:x-dunst-stack-tag:volume" -VOL1="" -VOL2="" +# echo -e '\u25cf' +VOL1="●" +# echo -e '\u25cc' +VOL2="◌" function getProgressString() { @@ -33,7 +35,6 @@ function notify() { if [ "$MUTE" = "yes" ]; then ICON=$ICON_PATH/audio-volume-muted.svg TITLE="${VOLUME}%" - M="" elif [ $VOLUME -le 33 ]; then ICON=$ICON_PATH/audio-volume-low.svg TITLE="${VOLUME}%"