X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/dcac60d9e77d8aa8b373140dbd47992434a8f8d5..cf27a57cb3365afde75e7798cbb77b0486457c09:/bin/tint2-alsa diff --git a/bin/tint2-alsa b/bin/tint2-alsa index 2a18b5c..1e851f2 100755 --- a/bin/tint2-alsa +++ b/bin/tint2-alsa @@ -5,6 +5,7 @@ medium=$base-medium.svg low=$base-low.svg muted=$base-muted.svg +# TODO: doesn't work if no master mixer, eg usb dac ident="iface=MIXER,name=Master Playback Volume" eval $(amixer cget "$ident" | grep -o 'max=\d\+')