tmuxcolours.conf 1.3 KB

123456789101112131415161718192021222324252627282930
  1. # vim: ft=tmux
  2. # https://raw.githubusercontent.com/seebi/tmux-colors-solarized/master/tmuxcolors-256.conf
  3. source-file ~/dotfiles/tmux/tmuxcolors-256.conf
  4. # Default status line options.
  5. set-option -g status on
  6. set-option -g status-utf8 on
  7. set-option -g status-interval 2
  8. set-option -g status-bg colour234
  9. set-option -g status-fg colour231
  10. set-option -g status-attr default
  11. # Central window list.
  12. # `#I` = index, `#F` = last window indicator, `#W` = window name
  13. set-option -g status-justify "centre"
  14. set-option -g window-status-format "#[bg=colour234] #[fg=colour244]#I#[fg=red]#F#[fg=colour249]#W "
  15. set-option -g window-status-current-format "#[bg=red] #[fg=colour231]#I #[bold]#W "
  16. # Left status.
  17. # `#S` session name, `#h` = hostname
  18. set-option -g status-left-length 90
  19. set-option -g status-left '#[fg=colour189,bg=colour55] #h #[fg=colour55,bg=colour233] #S #[fg=colour233,bg=colour234]'
  20. # Right status.
  21. # `#H:#M %d/%m/%y` = hours, minutes, day, month, year
  22. set-option -g status-right-length 90
  23. set-option -g status-right '#[fg=colour233]#[fg=colour166,bg=colour233] %H:%M #[fg=colour233,bg=colour166]%d/%m/%y #(rainbarf --remaining --rgb --width 10)'
  24. if-shell '[[ $(version-compare $(tmux -V | sed "s/[tmux ]//g") 2.1) -ge 0 ]]' 'source-file ~/dotfiles/tmux/tmuxcolours2.conf'