aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Miller <nwg.piotr@gmail.com>2021-03-17 00:58:28 +0100
committerGitHub <noreply@github.com>2021-03-17 00:58:28 +0100
commite3a3895b30feb9bfc7da64687065e76541ffda70 (patch)
tree39ea5a1d245593a9152b4db4a65724e7b7f5ae9e
parent312e7e21cd4f8d664fd0f2027a5e3a2e79735899 (diff)
parent014e2966d6de76a1dce34cd49ca6577bff465695 (diff)
downloadautotiling-e3a3895b30feb9bfc7da64687065e76541ffda70.tar.gz
Merge pull request #27 from mtshrmn/master
Add Event.BINDING subscription; resolves #26
-rw-r--r--autotiling/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotiling/main.py b/autotiling/main.py
index 896034b..280bb8b 100644
--- a/autotiling/main.py
+++ b/autotiling/main.py
@@ -114,6 +114,7 @@ def main():
handler = partial(switch_splitting, debug=args.debug, workspaces=args.workspaces)
i3 = Connection()
i3.on(Event.WINDOW_FOCUS, handler)
+ i3.on(Event.BINDING, handler)
i3.main()