neodotfiles/user/.config/suckless/dwmblocks/scripts/block_volume
Darius Drake 725249649a updated
2023-02-04 00:44:45 -04:00

5 lines
170 B
Bash
Executable file

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