#!/bin/bash MUTE=$(pulseaudio-ctl full-status | awk '{print $2}') VOLUME=$(pulseaudio-ctl full-status | awk '{print $1}') if [ "$MUTE" = "yes" ]; then echo " " elif [ "$VOLUME" -eq 0 ]; then echo " " elif [ "$VOLUME" -lt 77 ]; then echo " " else echo "" fi