odedlaz / tmux-onedark-theme

A dark tmux color scheme inspired by Atom's One Dark syntax theme.
MIT License
280 stars 136 forks source link

not working with other tmux plugins #4

Open cj opened 6 years ago

cj commented 6 years ago

Thank you for this! I have one issue, it doesn't appear to work with https://github.com/tmux-plugins/tmux-online-status, or any of the others. This is what I have:

set -g @plugin 'odedlaz/tmux-onedark-theme'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-online-status'
set -g @plugin 'tmux-plugins/tmux-cpu'

set -g @onedark_widgets "#(cpu_icon)"

set-option -g status-position top

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

What do you mean it doesn't work with other plugins?

jlbaez commented 3 years ago

i know this issue maybe be old but i had the same problem. Where the plugins just will not load. I was able to fix by surrounding things in bracket {} instead of parenthesis (). Here is what i set in my config. Not sure if README needs to be updated as it says to surround things in parenthesis.

set -g @onedark_widgets "#{cpu_fg_color} CPU: #{cpu_icon}#{cpu_percentage} | Online: #{online_status} | Wttr: #{weather}"