|
|
@@ -96,15 +96,24 @@ bind-key X kill-session
|
|
|
# Use solarized colour palette
|
|
|
source ~/dotfiles/tmux/tmux-colors-solarized/tmuxcolors-256.conf
|
|
|
|
|
|
-# tmux-powerline setup
|
|
|
-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 60
|
|
|
-set-option -g status-right-length 90
|
|
|
-set-option -g status-left "#(~/dotfiles/tmux/tmux-powerline-custom/status-left.sh)"
|
|
|
-set-option -g status-right "#(~/dotfiles/tmux/tmux-powerline-custom/status-right.sh)"
|
|
|
+# Use powerline plugin
|
|
|
+#
|
|
|
+# suggested method by plugin:
|
|
|
+#source ~/dotfiles/powerline/powerline/bindings/tmux/powerline.conf
|
|
|
+#
|
|
|
+# but we'd rather roll our own not-so-blue-and-annoying color scheme
|
|
|
+set -g status on
|
|
|
+set -g status-utf8 on
|
|
|
+set -g status-interval 2
|
|
|
+set -g status-justify "centre"
|
|
|
+set -g status-fg colour231
|
|
|
+set -g status-bg colour234
|
|
|
+set -g status-left-length 20
|
|
|
+set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour234,nobold]#(powerline tmux left)'
|
|
|
+set -g status-right '#(powerline tmux right)'
|
|
|
+set -g status-right-length 150
|
|
|
+set -g window-status-format "#[fg=colour244,bg=colour234]#I #[fg=colour249]#W "
|
|
|
+set -g window-status-current-format "#[fg=red,bg=colour234]#[fg=colour231,bg=red] #I #[fg=colour231,bold]#W #[fg=red,bg=colour234,nobold]"
|
|
|
|
|
|
# Highlight current window
|
|
|
set -g window-status-current-bg red
|