diff --git a/.tmux.conf b/.tmux.conf index 0bdcc8d..494d132 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -51,51 +51,12 @@ bind -r L resize-pane -R 5 unbind r bind r source-file ~/.tmux.conf \; display "Reloaded!" -########################### -# Status Bar -########################### +# powerline stuff +set-option -g status on +set-option -g status-interval 2 +set-option -g status-justify "centre" +set-option -g status-left-length 60 +set-option -g status-right-length 90 +set-option -g status-left "#(~/work/tmux-powerline/powerline.sh left)" +set-option -g status-right "#(~/work/tmux-powerline/powerline.sh right)" -# enable UTF-8 support in status bar -#set -g status-utf8 on - -# set refresh interval for status bar -set -g status-interval 30 - -# center the status bar -set -g status-justify centre - -# show session, window, pane in left status bar -set -g status-left-length 40 -set -g status-left '#[fg=green]#S#[fg=blue] #I:#P#[default]' - -# show hostname, date, time, and battery in right status bar -set-option -g status-right '#[fg=green]#H#[default]' - -########################### -# Colors -########################### - -# color status bar -set -g status-bg colour235 -set -g status-fg white - -# highlight current window -set-window-option -g window-status-current-fg black -set-window-option -g window-status-current-bg green - -# set color of active pane -set -g pane-border-fg colour235 -set -g pane-border-bg black -set -g pane-active-border-fg green -set -g pane-active-border-bg black - - -#set-option -g mouse-resize-pane on -#set-option -g mouse-select-window on -#set-option -g mouse-select-pane on - -# Scrolling with Shift-PageUp/Shift-PageDown. -#set -g terminal-overrides "*rxvt*:smcup@:rmcup@" - -# Use the mouse wheel to enter copy mode. -#set-window-option -g mode-mouse on