neodotfiles/user/.config/suckless/dwmblocks/scripts/block_volume
2022-12-19 20:15:21 -04:00

5 lines
171 B
Bash
Executable file

#!/bin/bash
# Prints the current volume or 🔇 if muted.
[ $(pamixer --get-mute) = true ] && echo " VL: [MUT] " && exit
vol="$(pamixer --get-volume)"
echo " vol: $vol% "