From c199f616117e842bd407e72b9dbfe4bc41f09ef7 Mon Sep 17 00:00:00 2001 From: Uwe Werler Date: Wed, 19 Aug 2020 13:15:57 +0000 Subject: [PATCH] add battery status and time to status --- ssh.conf | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 ""