aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-03-26 17:27:52 -0400
committerRyan Kavanagh <rak@debian.org>2013-03-26 17:27:52 -0400
commit6ee1f115303bf8009bd369602873f421c1db5472 (patch)
tree7686c1163634f27b3a59914faa9b0379e28359ec /.tmux.conf
parentFurther tmux customizations (diff)
Add powerlinerc to tmux
Diffstat (limited to '')
-rw-r--r--.tmux.conf24
1 files changed, 20 insertions, 4 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 42e2c27..bdba8a0 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,3 +1,5 @@
+source-file ~/.tmux-powerlinerc
+
setw -g automatic-rename
set-option -g prefix C-t
@@ -33,7 +35,21 @@ set -g mode-keys emacs
set -g status-keys emacs
# active window colour in status
-set -g window-status-current-bg white
-set -g window-status-current-fg magenta
-set -g window-status-bell-bg red
-set -g window-status-bell-fg yellow
+# set -g window-status-current-bg white
+# set -g window-status-current-fg magenta
+# set -g window-status-bell-bg red
+# set -g window-status-bell-fg yellow
+
+
+# Powerline:
+set-option -g status on
+set-option -g status-interval 2
+set-option -g status-utf8 on
+set-option -g status-justify "centre"
+set-option -g status-left-length 100
+set-option -g status-right-length 100
+set-option -g status-left "#(~/.tmux/powerline/powerline.sh left)"
+set-option -g status-right "#(~/.tmux/powerline/powerline.sh right)"
+set-option -g status-bg colour235
+set-option -g status-fg colour254
+set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]▶#[fg=colour255, bg=colour27] #I ❯ #W #[fg=colour27, bg=colour235]▶"