Compare commits
No commits in common. "effbc648f8e9084fc7189d9765c9dd0fff52d3a1" and "e59cea924907469f6ec71204371dad64d34d8973" have entirely different histories.
effbc648f8
...
e59cea9249
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cols=`tmux display -p "#{pane_width}"`
|
cols=`tmux display -p "#{pane_width}"`
|
||||||
|
|
||||||
if [ "$LAYOUT_FULLSCREEN" = "1" ]; then
|
if [[ $cols -gt 300 ]]; then
|
||||||
tmux split-window -h -l 37% -c '#{pane_current_path}'
|
tmux split-window -h -l 37% -c '#{pane_current_path}'
|
||||||
tmux select-pane -t 1
|
tmux select-pane -t 1
|
||||||
else
|
else
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cols=`tmux display -p "#{pane_width}"`
|
cols=`tmux display -p "#{pane_width}"`
|
||||||
|
|
||||||
if [ "$TMUX_LAYOUT_FULLSCREEN" = "1" ]; then
|
if [[ $cols -gt 300 ]]; then
|
||||||
tmux split-window -h -l 63% -c '#{pane_current_path}'
|
tmux split-window -h -l 63% -c '#{pane_current_path}'
|
||||||
tmux select-pane -t 1
|
tmux select-pane -t 1
|
||||||
else
|
else
|
||||||
|
|||||||
@ -58,10 +58,6 @@ if '[ ! -n $ITERM_PROFILE ]' \
|
|||||||
# Enable strikethrough on VTE compatible terminals.
|
# Enable strikethrough on VTE compatible terminals.
|
||||||
set -ga terminal-overrides 'xterm*:smxx=\E[9m'
|
set -ga terminal-overrides 'xterm*:smxx=\E[9m'
|
||||||
|
|
||||||
# Binding to create window-auto layout
|
|
||||||
bind a run-shell ~/.local/share/tmux/layouts/window-auto
|
|
||||||
# TODO: bind A run-shell ~/.local/share/tmux/layouts/window-auto --refresh
|
|
||||||
|
|
||||||
# Set only on macOS where it's required
|
# Set only on macOS where it's required
|
||||||
if -b '[ "`uname`" = "Darwin" ]' \
|
if -b '[ "`uname`" = "Darwin" ]' \
|
||||||
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
|
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user