From 82e55ec517d5552a1a79a5bc39366a602ee85860 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Fri, 26 Aug 2022 21:14:28 +0200 Subject: [PATCH] [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 --- bumblebee_status/modules/core/pulseaudio.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bumblebee_status/modules/core/pulseaudio.py b/bumblebee_status/modules/core/pulseaudio.py index 98ec4d4..70acb01 100644 --- a/bumblebee_status/modules/core/pulseaudio.py +++ b/bumblebee_status/modules/core/pulseaudio.py @@ -253,8 +253,6 @@ class Module(core.module.Module): def state(self, widget): if self._mute: return ["warning", "muted"] - if int(self._left) > int(100): - return ["critical", "unmuted"] return ["unmuted"]