diff --git a/config/ags/js/bar/audio.js b/config/ags/js/bar/audio.js index 43731f1..8ce5535 100644 --- a/config/ags/js/bar/audio.js +++ b/config/ags/js/bar/audio.js @@ -34,7 +34,14 @@ const SpeakerPercentLabel = props => Label({ if (!Audio.speaker) return; - label.label = `${Math.floor(Audio.speaker.volume * 100)}%`; + let vol = Math.floor(Audio.speaker.volume * 100); + + if (vol == 0) { + label.label = vol + '%'; + } + else { + label.label = vol + 1 + '%'; + } }, 'speaker-changed']], });