[modules/pulseaudio] remove "warning" if "too loud"

Falls in the "meant well, but doesn't really make sense" category: When
the volume exceeds 100%, the widget was shown in "critical" state. Some
headsets, audio cards, etc. do require a high volume setting, however.
And anyhow, it's really up to the user.

fixes #913
This commit is contained in:
tobi-wan-kenobi 2022-08-26 21:14:28 +02:00
parent fed7a067ba
commit 82e55ec517

View file

@ -253,8 +253,6 @@ class Module(core.module.Module):
def state(self, widget): def state(self, widget):
if self._mute: if self._mute:
return ["warning", "muted"] return ["warning", "muted"]
if int(self._left) > int(100):
return ["critical", "unmuted"]
return ["unmuted"] return ["unmuted"]