I was getting annoyed at the lack of good, simple, clean, portable layout management for tmux.
So, I made this.
Declare a txl|toml
file:
[[window]]
layout = '''
001
001
222
'''
[[window.pane]]
command = '''
echo "Main pane!"
'''
[[window.pane]]
command = '''
echo "Right pane!"
'''
[[window.pane]]
command = '''
echo "Bottom pane!"
'''
Install rustup, then install txl:
cargo install --git https://github.com/Jezza/txl
Then you can just txl my_file
, and it'll set everything up.
(Assuming you have tmux installed...)