Save tree root settings in layout

How do I save tree root path for a layout?
Note that I'm using Prefs LAYOUTLIST or jump list for opening my layouts.

v. 11.18

I don't think you can save it as part of a layout at the moment.

A script could run on lister/tab-open and set the tree root based on the window's layout name.