modified module_vol_alsa

thanks speedie for the command :>
This commit is contained in:
Gabubu 2022-04-14 15:46:22 +00:00 committed by GitHub
parent 4d85e85a8d
commit 649bf3ea84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ module_vol_pa() {
}
module_vol_alsa() {
export bar="${bar}${1}$(amixer sget Master | awk -F'[][]' '/Mono:/ { print $2 }')${2}"
export bar="${bar}${1}$(echo "`amixer sget Master | tail -n1 | sed -r "s/.*\[(.*)%\].*/\1/"`%")${2}" #Thanks speedie for the command
}
module_mic_pa() {