fix audio module
This commit is contained in:
parent
129cfe34b2
commit
ed451e1d7d
1 changed files with 3 additions and 2 deletions
|
@ -30,8 +30,9 @@ battery() {
|
||||||
}
|
}
|
||||||
|
|
||||||
audio() {
|
audio() {
|
||||||
get_vol=$(pamixer --get-volume-human)
|
get_vol=$(pamixer --get-volume)
|
||||||
if (get_vol == "muted") then
|
get_mute=$(pamixer --get-mute)
|
||||||
|
if [ get_mute = 'true' ]; then
|
||||||
printf "^c$blue^ ^"
|
printf "^c$blue^ ^"
|
||||||
else
|
else
|
||||||
printf "^c$blue^ $get_vol"
|
printf "^c$blue^ $get_vol"
|
||||||
|
|
Loading…
Reference in a new issue