#!/bin/sh SINK=$(pamixer --get-default-sink | tail -n 1 | cut -d" " -f1) case $BLOCK_BUTTON in 1) pamixer --sink $SINK -t ;; 3) pavucontrol ;; 4) pamixer --sink $SINK -i 5 ;; 5) pamixer --sink $SINK -d 5 ;; esac vol=$(pamixer --sink $SINK --get-volume)% if [[ $(pamixer --sink $SINK --get-mute) = "true" ]] then echo ' '$vol'' else echo "" $vol fi