Merge pull request #980 from sazk07/main

Fix: pipewire.py module
This commit is contained in:
tobi-wan-kenobi 2023-07-20 00:35:40 +02:00 committed by GitHub
commit 1471d8824b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,12 +57,12 @@ class Module(core.module.Module):
def increase_volume(self, event): def increase_volume(self, event):
util.cli.execute( util.cli.execute(
"wpctl set-volume --limit 1.0 {} {}+".format(self.__change, self.__id) "wpctl set-volume --limit 1.0 {} {}+".format(self.__id, self.__change)
) )
def decrease_volume(self, event): def decrease_volume(self, event):
util.cli.execute( util.cli.execute(
"wpctl set-volume --limit 1.0 {} {}-".format(self.__change, self.__id) "wpctl set-volume --limit 1.0 {} {}-".format(self.__id, self.__change)
) )
def volume(self, widget): def volume(self, widget):