]> git.sur5r.net Git - i3/i3.github.io/commitdiff
fix docs/user-contributed/swapping-workspaces.html
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 7 Jun 2014 16:06:08 +0000 (18:06 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 7 Jun 2014 16:06:08 +0000 (18:06 +0200)
The python i3 ipc API has changed apparently.

See also
https://faq.i3wm.org/question/3757/swapping-workspaces-script-does-not-work/
for a different fix.

docs/user-contributed/swapping-workspaces.html.mako

index b3ed1738d2d1e6be7f6c75284327510d6df3fa0e..021f4583792980af02b619b288fd0bcdea6cdfa8 100644 (file)
@@ -34,11 +34,11 @@ i3.workspace(outputs[0][&#39;current_workspace&#39;])
 
 # ..and move it to the other output.
 # outputs wrap, so the right of the right is left ;)
-i3.move__workspace__to__output__right()
+i3.command('move', 'workspace to output right')
 
 # rinse and repeat
 i3.workspace(outputs[1][&#39;current_workspace&#39;])
-i3.move__workspace__to__output__right()</tt></pre>
+i3.command('move', 'workspace to output right')</tt></pre>
 
 <p>
 A very simple way to use this script is as follows: Put the script in a file,