From 1a333bcaec612b0751a50e0036afaff417d455e6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 7 Jun 2014 18:06:08 +0200 Subject: [PATCH] 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. --- docs/user-contributed/swapping-workspaces.html.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5