fix audio module

This commit is contained in:
Sakooooo 2023-08-04 22:25:34 +03:00
parent 129cfe34b2
commit ed451e1d7d
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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"