JonnyHaystack / i3-resurrect

Simple solution to saving and restoring i3 workspaces
GNU General Public License v3.0
379 stars 19 forks source link

Make it so root workspace layout mode is restored #42

Closed JonnyHaystack closed 5 years ago

JonnyHaystack commented 5 years ago

Previously the layout mode/direction of the root workspace node was not saved/restored. Now this is done by saving the whole workspace tree (instead of just the children of the workspace node) and when the layout is restored the root workspace node is set correctly and the child nodes are extracted into a temporary file so that they can be passed to append_layout on their own.

Closes #33