#!/usr/bin/sh vol_str=$(wpctl get-volume @DEFAULT_AUDIO_SOURCE@) vol_int="$(echo "$vol_str" | sed 's/[^0-9]*//g')" notify-send -i microphone-sensitivity-muted -u low -h int:value:"$vol_int" -h string:x-dunst-stack-tag:'audioctl' -a 'audioctl' "$vol_str"