seebi / tmux-colors-solarized

A color theme for the tmux terminal multiplexer using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
1.08k stars 148 forks source link

Don't get solarized working #17

Closed lpvm closed 7 years ago

lpvm commented 7 years ago

I'm trying to solarize tmux but there's some problem I cannot identify.

$ tmux -2

$ echo $TERM
screen-256color

$ for code in {0..255}; do echo -e "\e[38;05;${code}m $code: Test"; done show 256 colors alright

My ~/.tmux.conf

unbind %
bind-key ^\ kill-session

set -g status-left '#[default]#S #[fg=blue]#H#[default]'
set-option -g display-time 2000
set -g set-remain-on-exit on #keeps the window/pane from closing, and 

set-window-option -g window-status-current-bg red

set -g status-right '#[fg=yellow]#(cut -d " " -f 1 /proc/loadavg)#[default] %b %d %H:%M#[default]'
set -g status-right-length 50

set -g status-interval 1

setw -g monitor-activity off
set -g visual-activity off
set -g visual-silence off
set -g visual-bell on
setw -g automatic-rename

bind v split-window -v
bind V split-window -h
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
setw -g mode-keys vi

bind < resize-pane -L 2
bind > resize-pane -R 2

bind m \
  set -g mode-mouse on \;\
  set -g mouse-resize-pane on \;\
  set -g mouse-select-pane on \;\
  set -g mouse-select-window on \;\
  display 'Mouse: ON'

bind M \
  set -g mode-mouse off \;\
  set -g mouse-resize-pane off \;\
  set -g mouse-select-pane off \;\
  set -g mouse-select-window off \;\
  display 'Mouse: OFF'

set -g history-limit 20000

set -g set-titles on
set -g set-titles-string '#S:#I.#P #W'
setw -g clock-mode-colour green
setw -g clock-mode-style 24

bind-key F1 source-file ~/.tmux/ocaml
bind-key F2 source-file ~/.tmux/fsharp
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
set-window-option -g window-status-fg colour244 #base0
set-window-option -g window-status-bg default
set-window-option -g window-status-current-fg colour166 #orange
set-window-option -g window-status-current-bg default
set-option -g pane-border-fg colour235 #base02
set-option -g pane-active-border-fg colour240 #base01
set-option -g message-bg colour235 #base02
set-option -g message-fg colour166 #orange
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
set-window-option -g clock-mode-colour colour64 #green
set-window-option -g window-status-bell-style fg=colour235,bg=colour160 #base02, red

But no solarized colors. tmux_solarized_problem

lpvm commented 7 years ago

After adding solarized to ~/.Xresources, it's working.