Permalink
Browse files

New hip tmux status bar

  • Loading branch information...
1 parent 4a23025 commit dfb96bc9d84103bb1f93bac03e98be1ffb8bfe60 @caio committed Jul 22, 2012
Showing with 19 additions and 17 deletions.
  1. +19 −17 tmux.conf
View
@@ -21,26 +21,10 @@ bind-key [ copy-mode
bind-key ] paste-buffer
bind-key K kill-window
-# for i in {0..255}; do printf "\x1b[38;5;${i}mcolour${i}\n"; done}
-set-window-option -g window-status-current-bg colour21
-set-window-option -g window-status-bell-bg white
-set-window-option -g window-status-bell-fg red
-set-window-option -g window-status-activity-bg green
-set-window-option -g window-status-activity-fg black
-set-window-option -g pane-active-border-fg colour140
-set-window-option -g pane-active-border-bg colour233
-set-window-option -g pane-border-fg colour233
-set-window-option -g pane-border-bg colour233
set-window-option -g utf8 on
set-window-option -g xterm-keys on
-# Statusbar
-set -g status-bg colour235
-set -g status-fg white
-set -g status-left ''
-set -g status-right '#[fg=white]#(date +%H:%M)'
-
set-option -g mouse-select-pane off
set-option -g status-keys vi
set-option -g set-titles on
@@ -55,5 +39,23 @@ set -g base-index 1
set -s escape-time 0
set -g update-environment -r
-bind r source-file ~/.tmux.conf
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; split-window -l 10 "urlview /tmp/tmux-buffer"
+
+# colors:
+# for i in {0..255}; do printf "\x1b[38;5;${i}mcolour${i}\n"; done}
+
+set -g status-left-length 52
+set -g status-right-length 451
+set -g status-fg white
+set -g status-bg colour234
+set -g pane-border-fg colour245
+set -g pane-active-border-fg colour39
+set -g message-fg colour16
+set -g message-bg colour221
+set -g message-attr bold
+set -g window-status-activity-attr italics
+set -g window-status-bell-attr bold
+set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(date +%H:%M) #[fg=colour238,bg=colour234,nobold]⮀'
+set -g window-status-format "#[fg=white,bg=colour234] #I #W "
+set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"
+

0 comments on commit dfb96bc

Please sign in to comment.