commit
c55c37e79b
9
ssh.conf
9
ssh.conf
@ -1,4 +1,5 @@
|
|||||||
set -g prefix C-g
|
set -g prefix C-g
|
||||||
|
setw -g monitor-activity off
|
||||||
# needed for e.g. mutt
|
# needed for e.g. mutt
|
||||||
bind C-g send-prefix
|
bind C-g send-prefix
|
||||||
|
|
||||||
@ -35,12 +36,6 @@ setw -g pane-active-border-style fg=colour240
|
|||||||
set -g window-status-format " #I #{p15:pane_title} #{p2:window_flags}"
|
set -g window-status-format " #I #{p15:pane_title} #{p2:window_flags}"
|
||||||
setw -g automatic-rename-format " #I #{p15:pane_title} #{p2:window_flags}"
|
setw -g automatic-rename-format " #I #{p15:pane_title} #{p2:window_flags}"
|
||||||
set -g window-status-current-format " #I #{p15:pane_title} #{p2:window_flags}"
|
set -g window-status-current-format " #I #{p15:pane_title} #{p2:window_flags}"
|
||||||
#set -g window-status-format " #I #{p15:pane_title} #{p2:?window_flags, #{window_flags}, }"
|
|
||||||
#setw -g automatic-rename-format " #I #{p15:pane_title} #{p2:?window_flags, #{window_flags}, }"
|
|
||||||
#set -g window-status-current-format " #I #{p15:pane_title} #{p2:?window_flags, #{window_flags}, }"
|
|
||||||
#set -g window-status-format " #I #{=+15:pane_title} #{=-2:?window_flags, #{window_flags}, }"
|
|
||||||
#setw -g automatic-rename-format " #I #{=+15:pane_title} #{=-2:?window_flags, #{window_flags}, }"
|
|
||||||
#set -g window-status-current-format " #I #{=+15:pane_title} #{=-2:?window_flags, #{window_flags}, }"
|
|
||||||
set -g pane-border-format " #P: #{s/ //:pane_title} "
|
set -g pane-border-format " #P: #{s/ //:pane_title} "
|
||||||
|
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
@ -48,7 +43,7 @@ set -g status-right-length 0
|
|||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
# I prefer not to have a status for my tabbed term
|
# I prefer not to have a status for my tabbed term
|
||||||
set -g status-right ""
|
set -g status-right '| #(test `apm -b` -lt 4 && echo "`apm -l`%% `test $(apm -m) != unknown && printf "%%02dh %%02dm \\n" "$(($(apm -m)/60)) $(($(apm -m)%%60))"`| ")%H:%M'
|
||||||
set -g status-right-length 0
|
set -g status-right-length 0
|
||||||
set -g status-left-length 0
|
set -g status-left-length 0
|
||||||
set -g status-left ""
|
set -g status-left ""
|
||||||
|
2
ssh.sh
2
ssh.sh
@ -200,7 +200,7 @@ _ssh() {
|
|||||||
|
|
||||||
_setpane ${_paneid} ${_host}
|
_setpane ${_paneid} ${_host}
|
||||||
|
|
||||||
xterm -title ${_sess} -name ${_sess} -e \
|
xterm -maximized -title ${_sess} -name ${_sess} -e \
|
||||||
$_tmux attach -t ${_sess} 2>/dev/null &
|
$_tmux attach -t ${_sess} 2>/dev/null &
|
||||||
#"xdotool key ctrl+alt+m; $_tmux attach -t ${_sess} 2>/dev/null" &
|
#"xdotool key ctrl+alt+m; $_tmux attach -t ${_sess} 2>/dev/null" &
|
||||||
type xdotool && sleep 0.2 && xdotool key ctrl+alt+m
|
type xdotool && sleep 0.2 && xdotool key ctrl+alt+m
|
||||||
|
Loading…
Reference in New Issue
Block a user