X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/a568f7faf0af7240bbfee4126d8034cf4f009205..38df7a875a9bbaf01317506123c52f7ed131a4f3:/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\+')