Currently there's no way to assigned terminal commands to specific positions in the layout if they are the same program.
For example, if I have four XTerm terminals in the layout, the system doesn't know which is which so i3-resurrect just executes the commands in a random order.
ps: My workaround was basically creating copy of the xterm exec in my desktop and calling those.
Ie:
xterm1
xterm2
xterm3
Correct initial positions with their respective commands:

Subsequent restores:



programs.json & layout.json
workspace_9_programs.json
workspace_9_layout.json
Currently there's no way to assigned terminal commands to specific positions in the layout if they are the same program.
For example, if I have four XTerm terminals in the layout, the system doesn't know which is which so i3-resurrect just executes the commands in a random order.
ps: My workaround was basically creating copy of the xterm exec in my desktop and calling those.
Ie:
xterm1
xterm2
xterm3
Correct initial positions with their respective commands:
Subsequent restores:
programs.json & layout.json
workspace_9_programs.json
workspace_9_layout.json