[modules/pulseaudio] Start pulseaudio daemon, if not running
Since the module requires the pulseaudio daemon to be running, in order to query system information such as the default source/sink and the current volume, start the daemon, if necessary. fixes #108
This commit is contained in:
parent
d48e661d97
commit
2eff6b4933
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ class Module(bumblebee.engine.Module):
|
|||
super(Module, self).__init__(engine, config,
|
||||
bumblebee.output.Widget(full_text=self.volume)
|
||||
)
|
||||
bumblebee.util.execute("pulseaudio --start")
|
||||
|
||||
self._left = 0
|
||||
self._right = 0
|
||||
|
|
Loading…
Reference in a new issue