add battery status and time to status

This commit is contained in:
Uwe Werler 2020-08-19 13:15:57 +00:00
parent 4bc7c00f18
commit c199f61611

View File

@ -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 ""