Adjust wide window layouts for wider configs
This commit is contained in:
parent
19e9306008
commit
05c67a2e90
@ -1,6 +1,11 @@
|
|||||||
#!/usr/bin/env -S tmux source-file
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
split-window -h -l 43% -c '#{pane_current_path}'
|
cols=`tmux display -p "#{pane_width}"`
|
||||||
select-pane -t 1
|
|
||||||
|
|
||||||
# vim: ft=tmux
|
if [[ $cols -gt 300 ]]; then
|
||||||
|
tmux split-window -h -l 37% -c '#{pane_current_path}'
|
||||||
|
tmux select-pane -t 1
|
||||||
|
else
|
||||||
|
tmux split-window -h -l 43% -c '#{pane_current_path}'
|
||||||
|
tmux select-pane -t 1
|
||||||
|
fi
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
#!/usr/bin/env -S tmux source-file
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
split-window -h -l 57% -c '#{pane_current_path}'
|
cols=`tmux display -p "#{pane_width}"`
|
||||||
select-pane -t 1
|
|
||||||
|
|
||||||
# vim: ft=tmux
|
if [[ $cols -gt 300 ]]; then
|
||||||
|
tmux split-window -h -l 63% -c '#{pane_current_path}'
|
||||||
|
tmux select-pane -t 1
|
||||||
|
else
|
||||||
|
tmux split-window -h -l 57% -c '#{pane_current_path}'
|
||||||
|
tmux select-pane -t 1
|
||||||
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user