diff --git a/layouts/window-wide-left b/layouts/window-wide-left index 1e9a120..d8fa6ae 100755 --- a/layouts/window-wide-left +++ b/layouts/window-wide-left @@ -2,7 +2,7 @@ cols=`tmux display -p "#{pane_width}"` -if [[ $cols -gt 300 ]]; then +if [ "$LAYOUT_FULLSCREEN" = "1" ]; then tmux split-window -h -l 37% -c '#{pane_current_path}' tmux select-pane -t 1 else diff --git a/layouts/window-wide-right b/layouts/window-wide-right index 9d7409f..4e88ca9 100755 --- a/layouts/window-wide-right +++ b/layouts/window-wide-right @@ -2,7 +2,7 @@ cols=`tmux display -p "#{pane_width}"` -if [[ $cols -gt 300 ]]; then +if [ "$TMUX_LAYOUT_FULLSCREEN" = "1" ]; then tmux split-window -h -l 63% -c '#{pane_current_path}' tmux select-pane -t 1 else