> Both versions save workspaces' layouts to lua files, when
> doing clean exits.
> IIRC both provide with a menu option to save / load
> workspaces in that file.
> 
> ~/.ion2/default-session/workspaces.lua
> ~/.ion3/default-session--0/saved_layout.lua
> 
> What I did was saving the layouts I like then removing
> write
> authorizations on that file with chmod so it wouldn't get
> overriden on
> exit.
> 
> 
 You right, but there is no information about programs opened in thise windows, 
as an example my latest workspaces.lua

initialise_screen_id(0, {
    type = "WScreen",
    name = "WScreen",
    subs = {
        {
            type = "WFloatWS",
            name = "main",
            managed = {
                {
                    type = "WFloatFrame",
                    name = "WFloatFrame",
                    flags = 24,
                    saved_y = 0, saved_h = 337,
                    saved_x = 0, saved_w = 488,
                    subs = {
                        {
                            type = "WClientWin",
                            windowid = 12582927,
                            checkcode = 1,
                            switchto = true,
                        },
                        {
                            type = "WClientWin",
                            windowid = 27262991,
                            checkcode = 2,
                        },
                    },
                    geom = { x = 0, y = 0, w = 1022, h = 766},
                },
                {
                    type = "WFloatFrame",
                    name = "WFloatFrame<4>",
                    flags = 24,
                    saved_y = 0, saved_h = 337,
                    saved_x = 1023, saved_w = 488,
                    subs = {
                        {
                            type = "WClientWin",
                            windowid = 25165839,
                            checkcode = 3,
                            switchto = true,
                        },
                    },
                    geom = { x = 1023, y = 0, w = 1022, h = 766},
                },
            },
        },
        {
            type = "WFloatWS",
            name = "WFloatWS",
            managed = {
                {
                    type = "WFloatFrame",
                    name = "WFloatFrame<1>",
                    flags = 16,
                    saved_x = 2, saved_w = 1022,
                    subs = {
                        {
                            type = "WClientWin",
                            windowid = 14680115,
                            checkcode = 4,
                            switchto = true,
                        },
                    },
                    geom = { x = 3, y = 0, w = 1023, h = 768},
                },
                {
                    type = "WFloatFrame",
                    name = "WFloatFrame<2>",
                    flags = 24,
                    saved_y = 0, saved_h = 337,
                    saved_x = 1025, saved_w = 488,
                    subs = {
                        {
                            type = "WClientWin",
                            windowid = 16777231,
                            checkcode = 5,
                            switchto = true,
                        },
                    },
                    geom = { x = 1025, y = 0, w = 1016, h = 766},
                },
            },
            switchto = true,
        },
        {
            type = "WFloatWS",
            name = "WFloatWS<1>",
            managed = {
            },
        },
        {
            type = "WFloatWS",
            name = "WFloatWS<2>",
            managed = {
            },
        },
    },
})

Lukas




Reply via email to