From 8d0f8a4177aa37efae3f395402b421035a76db99 Mon Sep 17 00:00:00 2001 From: FraSharp Date: Thu, 8 Sep 2022 12:11:27 +0200 Subject: [PATCH] [modules/pamixer] use -t flag to toggle mute instead of setting volume level to 0 Signed-off-by: FraSharp --- bumblebee_status/modules/contrib/pamixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/pamixer.py b/bumblebee_status/modules/contrib/pamixer.py index 2396949..46f3bb5 100644 --- a/bumblebee_status/modules/contrib/pamixer.py +++ b/bumblebee_status/modules/contrib/pamixer.py @@ -49,7 +49,7 @@ class Module(core.module.Module): core.input.register(self, button=event["button"], cmd=event["action"]) def toggle(self, event): - self.set_parameter("--set-level 0") + self.set_parameter("--toggle-mute") def increase_volume(self, event): self.set_parameter("--increase {}".format(self.__change))