Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change variant in command mode #26

Open
barksten opened this issue Mar 13, 2024 · 1 comment
Open

Can't change variant in command mode #26

barksten opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working on hold Features / bugs that do not have priority / are put on hold question Further information is requested

Comments

@barksten
Copy link

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
Copy link
Member

mrs4ndman commented Mar 15, 2024

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 🤔

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 :)

@mrs4ndman mrs4ndman self-assigned this Mar 15, 2024
@mrs4ndman mrs4ndman added bug Something isn't working question Further information is requested on hold Features / bugs that do not have priority / are put on hold labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working on hold Features / bugs that do not have priority / are put on hold question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants