-
-
Notifications
You must be signed in to change notification settings - Fork 751
Description
Hi all,
I'm having some trouble with the current catppuccin themes for tmux .. first a little bit of history:
I was on an old version of catppuccin (probably a year or even slightly older) and the described was working just fine. I've recently updated (due to setting up a new machine) and ran into trouble with my tmux theme config not working anymore and did a full update.
What I'm doing;
I have a few items like this:
set -ga status-right "#[bg=#{@thm_bg},fg=#{@thm_blue}] %Y-%m-%d %H:%M"
That have a certain background and a certain foreground color. I use "latte" during the daytime (light system theme) and "moccha" for the dark system theme. I switch with a script containing this:
TM_PATH=~/.config/tmux/tmux-color.conf
TM_TOUCH=~/.config/tmux/tmux.conf
# switch tmux to light
sed -i -e 's/background "black"/background "lightgrey"/' $TM_PATH
sed -i -e "s/mocha/latte/" $TM_PATH
touch $TM_TOUCH
/opt/homebrew/bin/tmux source-file $TM_TOUCH
Ths used to work just fine, but now it doesn't anymore. The status bar stays in the previously selected theme, I have to quit tmux and restart it again. Even pulling up a previous session will have the wrong colors:

What am I doing wrong? Am I missing something?