.tmux.powerline.conf 1.1 KB

12345678910111213141516171819202122
  1. # vim: ft=tmux
  2. if-shell 'test -z "$POWERLINE_CONFIG_COMMAND"' 'set-environment -g POWERLINE_CONFIG_COMMAND powerline-config'
  3. # Don't version-check for this core functionality -- anything too old to
  4. # support these options likely won't work well with powerline
  5. set -g status on
  6. set -g status-interval 2
  7. set -g status-left-length 60
  8. set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]'
  9. set -g status-right-length 150
  10. set -g status-right '#[fg=colour59]#[fg=colour255,bg=colour59] #[fg=colour254,bold]#[fg=colour16,bg=colour254,bold] #h '
  11. set -g window-status-separator '#[fg=colour244,bg=colour234] '
  12. set -g window-status-format "#[fg=colour244,bg=colour234] #I #[fg=colour240] #[default,bg=colour234]#W "
  13. set -g window-status-current-format "#[fg=colour234,bg=colour31]#[fg=colour117,bg=colour31] #I  #[fg=colour231,bold]#W #[fg=colour31,bg=colour234,nobold]"
  14. # load powerline
  15. if-shell 'env "$POWERLINE_CONFIG_COMMAND" tmux setup' '' 'run-shell "powerline-config tmux setup"'