#!/bin/bash print_volume() { [ "$(pulsemixer --get-mute)" = "1" ] && printf "🔇" && exit vol=$(pulsemixer --get-volume | awk '{print $1}') printf "%s%%\\n" "🔊 $vol" } print_volume