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() {
|
||||
get_vol=$(pamixer --get-volume-human)
|
||||
if (get_vol == "muted") then
|
||||
get_vol=$(pamixer --get-volume)
|
||||
get_mute=$(pamixer --get-mute)
|
||||
if [ get_mute = 'true' ]; then
|
||||
printf "^c$blue^ ^"
|
||||
else
|
||||
printf "^c$blue^ $get_vol"
|
||||
|
|
Loading…
Reference in a new issue