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:
commit
3c37b666f5
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"])
|
core.input.register(self, button=event["button"], cmd=event["action"])
|
||||||
|
|
||||||
def toggle(self, event):
|
def toggle(self, event):
|
||||||
self.set_parameter("--set-level 0")
|
self.set_parameter("--toggle-mute")
|
||||||
|
|
||||||
def increase_volume(self, event):
|
def increase_volume(self, event):
|
||||||
self.set_parameter("--increase {}".format(self.__change))
|
self.set_parameter("--increase {}".format(self.__change))
|
||||||
|
|
Loading…
Reference in a new issue