#!/bin/sh muted="$(pactl list sinks | grep "Mute" | awk '{print $2}')" if [ "$muted" = 'no' ]; then echo " $(/home/vtimofei/scripts/getvol)" else echo " $(/home/vtimofei/scripts/getvol)" fi