Merge pull request #918 from FraSharp/main

[modules/pamixer] use -t flag to toggle mute instead of setting volume level to 0
This commit is contained in:
tobi-wan-kenobi 2022-09-08 12:55:36 +02:00 committed by GitHub
commit 3c37b666f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))