Hello,
thanks for your help. In case someone else is interested, here is a
working solution. MOD1.."0" moves all Workspaces from Screen1 to
Screen0. MOD1.."1" moves the *active* Workspace (back) to Screen1.
-- Xinerama configuration:
-- Screen "Screen0"
-- Screen "Screen1" LeftOf "Screen0"
function go_home ()
local right_screen = ioncore.find_screen_id(0)
local left_screen = ioncore.find_screen_id(1)
for _, r in WMPlex.llist(left_screen,1) do
right_screen:attach(r)
end
end
function to_left (r)
local left_screen = ioncore.find_screen_id(1)
left_screen:attach(ioncore.find_manager(r, "WGenWS"))
end
defbindings("WScreen", {
kpress(MOD1.."0", "go_home(_sub)"), -- argument not used,
kpress(MOD1.."9", "to_left(_sub)"),
}
Ion3 really rocks! Now I need to resolve/avoid that nasty
hang-during-startup-because-of-xlib bug ...
Ulrich Pfeifer