dwm/vol
Marcin Wozniak 1942bca110 Added files
2019-05-19 14:25:57 +02:00

7 lines
168 B
Plaintext
Executable File

print_volume() {
[ "$(pulsemixer --get-mute)" = "1" ] && printf "MUTE" && exit
vol=$(pulsemixer --get-volume | awk '{print $1}')
printf "%s%%\\n" "$vol"
}
print_volume