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() {
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"