Update modules.sh

This commit is contained in:
Gabubu 2022-04-10 09:50:10 +00:00 committed by GitHub
parent 029d0c99c7
commit 8383207c0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,11 +23,7 @@ module_user() {
} }
module_vol() { module_vol() {
# Un-comment this if you use ALSA export bar="${bar}${1}$(if command -v pamixer > NULL; then pamixer --get-volume; else amixer sget Master | awk -F'[][]' '/Mono:/ { print $2 }'; fi)${2}"
#export bar="${bar}${1}$(amixer sget Master | awk -F'[][]' '/Mono:/ { print $2 }')${2}"
# Un-comment this if you use PulseAudio
#export bar="${bar}${1}$(pamixer --get-volume)${2}"
} }
module_kernel() { module_kernel() {