From b48c02a3e287d957acec62268373f7f3c2e4579b Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 7 Jul 2017 06:56:16 +0200 Subject: [PATCH] [module/github] Open GitHub notifications on left click --- bumblebee/modules/github.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bumblebee/modules/github.py b/bumblebee/modules/github.py index 2b82a07..6c131dd 100644 --- a/bumblebee/modules/github.py +++ b/bumblebee/modules/github.py @@ -29,6 +29,8 @@ class Module(bumblebee.engine.Module): self._count = 0 self._interval = int(self.parameter("interval", "5")) self._nextcheck = 0 + engine.input.register_callback(self, button=bumblebee.input.LEFT_MOUSE, + cmd="x-www-browser https://github.com/notifications") def github(self, _): return str(self._count)