aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Reider <ereider20010103@gmail.com>2021-10-27 01:09:58 +0200
committerErik Reider <ereider20010103@gmail.com>2021-10-27 01:09:58 +0200
commitdae2b3d803fa32b1446afe94e6f4951d303a52c7 (patch)
tree045214e1c8aea7ae5518771052fa76170e2be0bb
parent78f0d45099ba7420575c128e66b7e31a2b4d44f4 (diff)
downloadautotiling-dae2b3d803fa32b1446afe94e6f4951d303a52c7.tar.gz
Added MODE event to replace BINDINGS event
-rw-r--r--autotiling/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotiling/main.py b/autotiling/main.py
index 2bfcc5c..dc237a2 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, handler)
+ i3.on(Event.MODE, handler)
i3.main()