From: Michael Stapelberg Date: Sat, 7 Jun 2014 16:06:08 +0000 (+0200) Subject: fix docs/user-contributed/swapping-workspaces.html X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a333bcaec612b0751a50e0036afaff417d455e6;p=i3%2Fi3.github.io fix docs/user-contributed/swapping-workspaces.html 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. --- diff --git a/docs/user-contributed/swapping-workspaces.html.mako b/docs/user-contributed/swapping-workspaces.html.mako index b3ed173..021f458 100644 --- a/docs/user-contributed/swapping-workspaces.html.mako +++ b/docs/user-contributed/swapping-workspaces.html.mako @@ -34,11 +34,11 @@ i3.workspace(outputs[0]['current_workspace']) # ..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]['current_workspace']) -i3.move__workspace__to__output__right() +i3.command('move', 'workspace to output right')

A very simple way to use this script is as follows: Put the script in a file,