| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- # vim: ft=tmux
- # Default status line options.
- set-option -g status on
- set-option -g status-utf8 on
- set-option -g status-interval 2
- set-option -g status-bg colour234
- set-option -g status-fg colour231
- set-option -g status-attr default
- # Central window list.
- # `#I` = index, `#F` = last window indicator, `#W` = window name
- set-option -g status-justify "centre"
- set-option -g window-status-format "#[bg=colour234] #[fg=colour244]#I#[fg=red]#F#[fg=colour249]#W "
- set-option -g window-status-current-format "#[bg=red] #[fg=colour231]#I #[bold]#W "
- # Left status.
- # `#S` session name, `#h` = hostname
- set-option -g status-left-length 90
- set-option -g status-left '#[fg=colour189,bg=colour55] #S #[fg=colour55,bg=colour233] #h #[fg=colour233,bg=colour234]'
- # Right status.
- # `#H:#M %d/%m/%y` = hours, minutes, day, month, year
- set-option -g status-right-length 90
- 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)'
- # Other colour defaults from Solarized 256 (https://github.com/seebi/tmux-colors-solarized)
- # default window title colors
- set-window-option -g window-status-fg colour244 #base0
- set-window-option -g window-status-bg default
- # active window title colors
- set-window-option -g window-status-current-fg colour166 #orange
- set-window-option -g window-status-current-bg default
- # pane border
- set-option -g pane-border-fg colour235 #base02
- set-option -g pane-active-border-fg colour240 #base01
- # message text
- set-option -g message-bg colour235 #base02
- set-option -g message-fg colour166 #orange
- # pane number display
- set-option -g display-panes-active-colour colour33 #blue
- set-option -g display-panes-colour colour166 #orange
- # clock
- set-window-option -g clock-mode-colour colour64 #green
- # Some instructions above are deprecated in 1.9+ so rewrite them where necessary.
- if-shell '[[ `tmux -V` == *1.9* ]]' 'source-file ~/dotfiles/tmux/tmuxcolours19.conf'
|