Respect autostart parameter.
This commit is contained in:
parent
c0f3f47cf1
commit
3186f1f30c
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ class Module(bumblebee.engine.Module):
|
|||
bumblebee.output.Widget(full_text=self.volume)
|
||||
)
|
||||
try:
|
||||
bumblebee.util.execute("pulseaudio --start")
|
||||
if bumblebee.util.asbool(self.parameter("autostart", False)):
|
||||
bumblebee.util.execute("pulseaudio --start")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue