This commit is contained in:
Sakooooo 2024-08-08 14:28:47 +04:00
parent a58419c617
commit e82fff9cad
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -114,7 +114,10 @@ function Volume() {
}) })
const volume = Widget.Label({ const volume = Widget.Label({
label: Math.round(audio.speaker.volume * 100).toString(), // label: Math.round(audio.speaker.volume * 100).toString(),
label: !audio.speaker.is_muted
? ` ${Math.round(audio.speaker.volume * 100).toString()}`
: "",
}) })
return Widget.Box({ return Widget.Box({