[modules/disk] Fix multi-instance disk
This commit is contained in:
parent
28a4f4ab9d
commit
ca64851687
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Module(bumblebee.module.Module):
|
|||
super(Module, self).__init__(output, config, alias)
|
||||
self._path = self._config.parameter("path", "/")
|
||||
|
||||
output.add_callback(module=self.instance(), button=1, cmd="nautilus {instance}")
|
||||
output.add_callback(module=self.instance(), button=1, cmd="nautilus {}".format(self._path))
|
||||
|
||||
def widgets(self):
|
||||
st = os.statvfs(self._path)
|
||||
|
|
Loading…
Reference in a new issue