From dcaf567116d6eda753e89fa27b962e8bb0841b29 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Tue, 1 Sep 2015 22:58:19 -0700 Subject: [PATCH] Add a better status bar. --- tmux.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tmux.conf b/tmux.conf index aaada3f..6043392 100644 --- a/tmux.conf +++ b/tmux.conf @@ -5,6 +5,7 @@ set -g update-environment "DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID SSH_CONNEC bind K confirm kill-server bind X confirm kill-window bind ^[ copy-mode +bind R source-file ~/.tmux.conf \; display-message " Config reloaded.." # Scrollback set -g history-limit 10000 @@ -39,3 +40,12 @@ setw -g automatic-rename on # Color scheme source-file ~/.tmux/tmux-solarized-256.conf + +# Provide a statusbar +set -g window-status-current-bg colour33 +set -g window-status-current-fg colour235 +set -g window-status-current-attr bold +set -g status-interval 60 +set -g status-left-length 30 +set -g status-left '/#S/ ' +set -g status-right '#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=colour166]%H:%M#[default]'