rose-pine / tmux

Soho vibes for tmux
MIT License
158 stars 55 forks source link

Can't change variant in command mode #26

Open barksten opened 8 months ago

barksten commented 8 months ago

I have macOS configured to change to dark mode at night (auto). I've set set -g @rose_pine_variant 'dawn' in my tmux.conf. I understand that you can't set variant to auto and have tmux autodetect the screen mode as you can in Ex. Wezterm. I did however expect that I could change variant using command mode ( C-b : ) but It doesn't work for me. How do I change it?

mrs4ndman commented 8 months ago

I mean, it COULD be done with environment variables. The thing is, the theme wasn't created with hot-reload between variants, so I would neeed to test out ways to make it reload itself :thinking:

You can maybe unset the option in you .tmux.conf and have a shell script that runs on shell startup the command ↓

tmux set -g @rose_pine_variant '<whatever variant>'
tmux source ~/.tmux.conf

This sorta works :)