Merge pull request #277 from mijoharas/fix-pulseaudio-bug
Respect autostart parameter.
This commit is contained in:
commit
3fc9530ada
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ class Module(bumblebee.engine.Module):
|
||||||
bumblebee.output.Widget(full_text=self.volume)
|
bumblebee.output.Widget(full_text=self.volume)
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
|
if bumblebee.util.asbool(self.parameter("autostart", False)):
|
||||||
bumblebee.util.execute("pulseaudio --start")
|
bumblebee.util.execute("pulseaudio --start")
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue