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

alacritty msg config "import=['/path/to/alacritty/toml']" does nothing #7973

Closed
FelixBrakel opened this issue May 13, 2024 · 4 comments
Closed

Comments

@FelixBrakel
Copy link

Setting an import path to switch alacritty theme at runtime using alacritty msg does not seem to import said file.

System

OS: Linux
Version: alacritty 0.13.2 (bb8ea18)
Linux: Wayland, Hyprland, Arch

Steps

  1. add any config file (for example a theme) to the alacritty config folder ~/.config/alacritty
  2. alacritty msg config "import=['~/.config/alacritty/additional_config.toml']"
  3. Observe nothing changes
@chrisduerr
Copy link
Member

Why do you want to do this?

@FelixBrakel
Copy link
Author

So I can set a different theme per ssh host.

I need to work on a number of different servers and having the terminals be visually distinct from one another helps me to not mix them up all the time.

@kchibisov
Copy link
Member

You can just do alacritty msg config "$(cat gruvbox_light.toml)" for that. The theme I've used is from https://github.com/alacritty/alacritty-theme, but it should work with any, really.

@FelixBrakel
Copy link
Author

Wow that works great! Thanks for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants