#!/bin/sh if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then echo 0 exit else echo "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed 's/[^0-9]//g')" fi