Swapping workspaces script does not work
Hello, I tried this script "User-contributed article: Swapping workspaces". Sadly I cannot post the link as my karma is insufficient.
However it does not work. Instead I get the following error
Traceback (most recent call last):
File "./swap.py", line 11, in <module>
i3.move__workspace__to__output__right()
File "/usr/local/lib/python2.7/dist-packages/i3.py", line 412, in function
raise response
i3.MessageError: Expected one of these tokens: 'window', 'container', 'to', 'workspace', 'output', 'scratchpad', 'left', 'right', 'up', 'down', 'position', 'absolute'
line 11 is:
11 i3.move__workspace__to__output__right( )
in zsh i3-msg works without a problem as in:
i3-msg move workspace to output right
I'm using 4.7.2 and the latest python bindings (ziberna/i3-py 0.6.4, 2012-04-28)
Kind regards
i3-py is no longer maintained and has lots of bugs. I recommend using [i3ipc-python](https://github.com/acrisci/i3ipc-python) instead.