left mouse click to open todo list
This commit is contained in:
parent
77287408e1
commit
8a604e4f24
1 changed files with 3 additions and 2 deletions
|
@ -21,6 +21,7 @@ class Module(bumblebee.engine.Module):
|
||||||
)
|
)
|
||||||
self._doc = os.path.expanduser(self.parameter("file", "~/Documents/todo.txt"))
|
self._doc = os.path.expanduser(self.parameter("file", "~/Documents/todo.txt"))
|
||||||
self._todos = self.count_items()
|
self._todos = self.count_items()
|
||||||
|
engine.input.register_callback(self, button=bumblebee.input.LEFT_MOUSE, cmd="xdg-open {0}".format(self._doc))
|
||||||
|
|
||||||
|
|
||||||
def output(self, widget):
|
def output(self, widget):
|
||||||
|
|
Loading…
Reference in a new issue