[modules/pulseaudio] Default pulseaudio autostart to false

To pacify @ibrokemypie ;-)

Joking aside: Not autostarting the pulseaudio daemon by default makes a
lot of sense, so adjust default behaviour.

see #108
This commit is contained in:
Tobias Witek 2017-06-15 14:14:16 +02:00
parent c7e2f39132
commit 76404bf90b

View file

@ -5,7 +5,7 @@
Aliases: pasink, pasource Aliases: pasink, pasource
Parameters: Parameters:
* pulseaudio.autostart: If set to "true" (default), automatically starts the pulseaudio daemon if it is not running * pulseaudio.autostart: If set to "true" (default is "false"), automatically starts the pulseaudio daemon if it is not running
Requires the following executable: Requires the following executable:
* pactl * pactl
@ -111,7 +111,7 @@ class Module(bumblebee.engine.Module):
return return
except Exception: except Exception:
self._failed = True self._failed = True
if self.parameter("autostart", "true") == "true": if self.parameter("autostart", "false") == "true":
try: try:
bumblebee.util.execute("pulseaudio --start") bumblebee.util.execute("pulseaudio --start")
self.update(widgets) self.update(widgets)