diff --git a/ssh.conf b/ssh.conf index ef0771c..a73c183 100644 --- a/ssh.conf +++ b/ssh.conf @@ -1,4 +1,5 @@ set -g prefix C-g +setw -g monitor-activity off # needed for e.g. mutt 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}" 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-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 renumber-windows on @@ -48,7 +43,7 @@ set -g status-right-length 0 ############################################################## # 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-left-length 0 set -g status-left "" diff --git a/ssh.sh b/ssh.sh index 3ead29d..265f11a 100644 --- a/ssh.sh +++ b/ssh.sh @@ -200,7 +200,7 @@ _ssh() { _setpane ${_paneid} ${_host} - xterm -title ${_sess} -name ${_sess} -e \ + xterm -maximized -title ${_sess} -name ${_sess} -e \ $_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