~koehr/configs

31aca4957585f82cfed8495e24c4806a78428a90 — koehr 9 months ago 5b2cb23
adds weather info to tmux status
1 files changed, 5 insertions(+), 6 deletions(-)

M dot.tmux.conf
M dot.tmux.conf => dot.tmux.conf +5 -6
@@ 36,14 36,12 @@ set-option -ga terminal-overrides ',st-256color:smkx=\E='
set -g status-style fg=colour208,bg=colour237
# set-option -g status-attr default
set-option -g status-position bottom
set-option -g status-interval 5

# Basic status bar colors
set-option -g status-interval 60
set-option -g status-bg default
set-option -g status-fg white

# Left side of status bar
set-option -g status-left-length 40
set-option -g status-left-length 10
#set-option -g status-left "#[fg=brightwhite,bg=colour234] #S #[fg=default,bg=default] "
set-option -g status-left '#{?client_prefix,#[bg=colour62]   ,#[bg=colour234] #S }#[fg=default,bg=default] '



@@ 54,8 52,9 @@ set-option -g window-status-separator " "
set-option -g status-justify left

# Right side of status bar
set-option -g status-right-length 40
set-option -g status-right " #[fg=brightwhite,bg=colour62]   #[fg=brightwhite,bg=colour234] #(whoami)@#h "
set-option -g status-right-length 80
WEATHER='#(curl -s wttr.in/Berlin\?format\="%%t+%%C+%%w+%%m")'
set-option -g status-right "#[fg=brightwhite,bg=colour62]🌡 BER #[fg=brightwhite,bg=colour234] $WEATHER #[fg=brightwhite,bg=colour62]   #[fg=brightwhite,bg=colour234] #(whoami)@#h "

# pane border
set -g pane-border-style fg=colour238,bg=colour235