Open markfaine opened 2 years ago
I've not seen oh-my-tmux before, so I'm not surprised they don't play that well together.
Basically, both set the status-left
/status-right
properties in Tmux to be able to change how the status bar looks. So if you apply a in-compatible theme after loading oh-my-tmux, it would simply replace whatever on-my-tmux has done.
As for a solution for you, the themepack themes here have a number of options which can be used to customize what's displayed in the status bar. Check the source code for the specific theme you're using to see exactly what's available.
For example, I believe these are the relevant variables you're after if you're using the powerline/double/blue
theme: https://github.com/jimeh/tmux-themepack/blob/7c59902f64dcd7ea356e891274b21144d1ea5948/powerline/double/blue.tmuxtheme#L11-L37
You can use those variables to customize the statusbar in the powerline themes. The only important thing of note, is that you must set those variables before loading the theme. As the values in the theme itself will only apply if the specific variable does not exist when the theme is loaded.
That works thanks!
I'm using oh-my-tmux, tmuxinator and tmux-themepack together and the theme seems to override or obscure the
tmux_conf_theme_status_left
andtmux_conf_theme_status_right
settings.with theme enabled:![image](https://user-images.githubusercontent.com/949949/163425275-be2b6aef-e9eb-4906-852c-531c75dd4cd7.png)
without theme enabled:![image](https://user-images.githubusercontent.com/949949/163425558-e6432dd0-66b3-46d3-ab95-338fca5c37e3.png)