[modules/pamixer] use -t flag to toggle mute instead of setting volume level to 0
Signed-off-by: FraSharp <s23265@iisve.it>
This commit is contained in:
parent
1983408e58
commit
8d0f8a4177
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue