a tiny tool for creating pre-defined tile layouts in tmux on linux with xdotool
- xdotool is required to use that script, so it's working only on linux right now
- of course, we need to execute this script inside tmux
call tmux-auto-pane
script with one of the following parameters
--help | -h showing help
--1l1r one left, one right
--1l2r one left, two right
--2l1r two left, one right
--1u1d one up, one down
--1u2d on up, two down
--2u1d two up, one down
--4tiles 4 tiles, 1 in each corner
for example: tmux-auto-pane --4tiles
will generate such layout:
____ ____
| | |
|____|____|
| | |
|____|____|
we can also have the following layouts:
1l1r 1l2r 2l1r 1u1d 1u2d 2u1d
____ ____ ____ ____ ____ ____ _________ _________ ____ ____
| | | | | | | | | | | | | | | |
| | | | |____| |____| | |_________| |____ ____| |____|____|
| | | | | | | | | | | | | | | |
|____|____| |____|____| |____|____| |_________| |____|____| |_________|
with wget:
sh -c "$(wget https://raw.githubusercontent.com/pwittchen/tmux-auto-pane/master/install.sh -O -)"
with curl:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/pwittchen/tmux-auto-pane/master/install.sh)"