#!/usr/bin/env bash cols=`tmux display -p "#{pane_width}"` if [ "$TMUX_LAYOUT_FULLSCREEN" = "1" ]; 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