dotfiles-x11/.local/bin/statusbar/sb-volume

3 lines
120 B
Bash
Executable File

#!/bin/sh
echo [ "$([ "$(pamixer --get-mute)" = "false" ] && printf ' ' || printf ' ')$(pamixer --get-volume)%" ]