I have the following in my xmonad.hs:
spawnOnOnce "0" "kitty -e vim ~/configuration.org; kitty"
spawnOnOnce "0" "kitty"
And it works, but the thing is, the order of the execution is always different: sometimes the first "spawn" is executed and sometime the second. I need the order of execution to be always the same, e.g., in the order they are written.
Please help :-)
EDIT 1:
As per @JosephSible-ReinstateMonica request in the comments below:
Why does it matter the exact order in which the processes are spawned?
I use the "Master/Stack" layout (with manageHook = insertPosition End Newer ...), and if the second "spawnOn" is the first to be executed, then it would be on the left side of the screen, I want it to be always on the right side of the screen.