sway_volume: replace notification icon, again

This commit is contained in:
Konstantin Koslowski 2021-03-01 11:09:18 +01:00
parent 4475967df9
commit b0c05d7aa4

View file

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