#!/bin/sh case $BLOCK_BUTTON in 1) pamixer -t ;; 3) pavucontrol ;; 4) pamixer -i 5 ;; 5) pamixer -d 5 ;; esac vol=$(pamixer --get-volume)% if [[ $(pamixer --get-mute) = "true" ]] then echo '<span foreground="#FF0000"> '$vol'</span>' else echo "" $vol fi