Coder Social home page Coder Social logo

tmux-colors-solarized's People

Contributors

altercation avatar counterleft avatar darcyparker avatar mshkrebtan avatar oconnor663 avatar rbjorklin avatar seebi avatar simono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tmux-colors-solarized's Issues

Background color stays terminal default

When I apply the configs from this project, I see my tmux status line take the correct colors, but the rest of the terminal background stays the same as it was before (in my case, black). Did you have to do specific terminal configuration to achieve your screenshots?

status bell style is missing

This is my proposition for missing status bell style:

set-window-option -g window-status-bell-style fg=brightblack,bg=red

I'm using dark theme right now - it can be adjusted for other color variants as well.

Missing window-style

Non of the files have an option like
setw -g window-style bg=white,fg=black
Thus, nothing set the colors of the windows.

new version tmux no option:window-status-bell-style

First of all thank the author for providing us with such a good plug-in for tmux!
and I found a problem about the tmux config file "unknown option:window-status-bell-style"
so I exec the command man tmux ,and found as follows:

       -  window-status-bell-attr attributes
                 Set status line attributes for windows which have a bell
                 alert.

        -  window-status-bell-bg colour
                 Set status line background colour for windows with a bell
                 alert.

         - window-status-bell-fg colour
                 Set status line foreground colour for windows with a bell
                 alert.

so we can solve the problem via changing the option

"bad colour"

I get errors when trying to use your dark or light themes. My tmux version is probably older than yours. Or something.

$ tmux -V
tmux 1.5

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-256.conf 
(no output, works fine)

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf 
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 9: bad colour: brightblue
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 14: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 20: bad colour: brightgreen
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 24: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 28: bad colour: brightred

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf 
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 9: bad colour: brightyellow
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 14: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 20: bad colour: brightcyan
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 24: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 28: bad colour: brightred

Don't get solarized working

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

Terminal Stays Default Color Except for TMUX Status Bar

The tmux status bar changes to the right color upon installation, however everything else appears the same. Installation with manual concatenation to .tmux.conf and with TPM both fail the same way. Currently using MacOS Terminal and tmux version 2.3.

.bashrc:

if [[ -n ${TMUX} ]]; then
    export TERM='screen-256color'
else
    export TERM='xterm-256color'
fi

.tmux.conf:

set -g default-terminal 'screen-256color'

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'seebi/tmux-colors-solarized'

set -g @colors-solarized 'dark'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Checking screen from within tmux:

$ echo $TERM
screen-256color

Screenshot:
screen shot 2017-04-18 at 5 45 49 pm

Installing

Hi.
how do You install this code to colorize tmux? You keep mentioning "this" snippet, but I cant see it or understand what you mean.
/Thanx

tmuxcolors-light.conf causes dark status bar in suckless st with solarized light patch applied.

I applied st-no_bold_colors-0.7.diff and st-solarized-light-0.7.diff from https://st.suckless.org/patches/solarized/ to suckless st on Gentoo.

~/.tmux.conf with tmuxcolors-light.conf pasted at the end

set-window-option -g mode-keys emacs
set-window-option -g allow-rename off

#set -g status-style "fg=#65578a"
#set -ag status-style "bg=#d6ceb7"

set -g default-command $SHELL
#set -g default-terminal xterm-256color
set-option -ga terminal-overrides ",st-256color:Tc"

unbind-key C-b
set -g prefix M-'`'
bind M-'`' send-prefix

bind-key -T copy-mode y send-keys -X copy-pipe-and-cancel "xsel -i -b"
bind-key C-y run "xsel -o --clipboard | tmux load-buffer -; tmux paste-buffer"
bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel -i -b; xsel -o -b | tmux load-buffer -"

#### COLOUR (Solarized light)

# default statusbar colors
set-option -g status-bg white #base2
set-option -g status-fg yellow #yellow
set-option -g status-attr default

# default window title colors
set-window-option -g window-status-fg brightyellow #base00
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim

# active window title colors
set-window-option -g window-status-current-fg brightred #orange
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright

# pane border
set-option -g pane-border-fg white #base2
set-option -g pane-active-border-fg brightcyan #base1

# message text
set-option -g message-bg white #base2
set-option -g message-fg brightred #orange

# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange

# clock
set-window-option -g clock-mode-colour green #green

# bell
set-window-option -g window-status-bell-style fg=white,bg=red #base2, red

2018-03-05_mon_11 07 45

~/.tmux.conf with tmuxcolors-dark.conf pasted at the end

set-window-option -g mode-keys emacs
set-window-option -g allow-rename off

#set -g status-style "fg=#65578a"
#set -ag status-style "bg=#d6ceb7"

set -g default-command $SHELL
#set -g default-terminal tmux-256color
set-option -ga terminal-overrides ",st-256color:Tc"

unbind-key C-b
set -g prefix M-'`'
bind M-'`' send-prefix

bind-key -T copy-mode y send-keys -X copy-pipe-and-cancel "xsel -i -b"
bind-key C-y run "xsel -o --clipboard | tmux load-buffer -; tmux paste-buffer"
bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel -i -b; xsel -o -b | tmux load-buffer -"

#### COLOUR (Solarized dark)

# default statusbar colors
set-option -g status-bg black #base02
set-option -g status-fg yellow #yellow
set-option -g status-attr default

# default window title colors
set-window-option -g window-status-fg brightblue #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim

# active window title colors
set-window-option -g window-status-current-fg brightred #orange
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright

# pane border
set-option -g pane-border-fg black #base02
set-option -g pane-active-border-fg brightgreen #base01

# message text
set-option -g message-bg black #base02
set-option -g message-fg brightred #orange

# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange

# clock
set-window-option -g clock-mode-colour green #green

# bell
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red

2018-03-05_mon_11 32 56

Question

Is that how tmux is supposed to look with solarized color themes? Why is status bar dark with tmuxcolors-light.conf applied?

Not working for me!

I am new to Mac and tmux. Please be gentle :)

I am using Mac, iterm2. I double checked my config file and also made sure tmux is using the config file. Can you please help me with this? What do you suggest me to debug ? Please let me know if you need more info to fix this.

Thanks,

upgrade tmux 2.9, came across incompatible issue

tmux 2.9

/Users/xiaods/.tmux.conf:83: invalid option: status-attr                                                                                                                     
/Users/xiaods/.tmux.conf:86: invalid option: window-status-fg
/Users/xiaods/.tmux.conf:87: invalid option: window-status-bg
/Users/xiaods/.tmux.conf:91: invalid option: window-status-current-fg
/Users/xiaods/.tmux.conf:92: invalid option: window-status-current-bg
/Users/xiaods/.tmux.conf:96: invalid option: pane-border-fg
/Users/xiaods/.tmux.conf:97: invalid option: pane-active-border-fg
/Users/xiaods/.tmux.conf:100: invalid option: message-bg
/Users/xiaods/.tmux.conf:101: invalid option: message-fg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.