* David Roundy wrote:
I'm wondering if there's a mechanism by which I could save the layout of a
workspace as lua code.  I'd like to be able to create a keybinding that
will generate a new workspace with a particular layout.  I can see that
.ion3/default-session--1/saved_layout.lua has the relevant information, but
it's not in a format that's particularly easy for me to see how to
extend...


I don't know if this is the answer you're looking for, but it does save and restore specific tiled workspaces using the provided lua functions. I had a bit of time on my hands at some point:

http://silenceisdefeat.org/~chv/ion3/saved_ws.lua

The information in saved_layout.lua generally all needs to be there. This script uses its own format, which started simple but ended up looking a lot like that file.


Reply via email to