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

[Feature Request] : Option to change the LS_COLORS and PS1 variable #421

Open
martinprad0 opened this issue Mar 1, 2024 · 1 comment
Open

Comments

@martinprad0
Copy link

martinprad0 commented Mar 1, 2024

I consider that there should be a supplementary script to change the LS_COLORS and the PS1 variable based on the theme colors. I don't know how much extra work should be required to differentiate between dark and light themes in order to create the correct palette for these variables. Additionally, I would like to know how can I contribute or if there are any resources related to for the following request:

I'm currently using GNOME-Terminal, and I would like to have a different profile/theme, LS_COLORS and PS1 variable for every new terminal window I open. In fact, I would like to know if there's a way to change the current profile/theme of a tab from the GNOME-Terminal using commands.

@stablestud
Copy link
Contributor

It should be possible to calculate the LS_COLORS/DIRCOLORS based on the theme values.
But how these are applied to the shell is out of scope for Gogh because it only applies the colors to the terminal configuration files.

What you could do is write a script that generates the LS_COLORS/DIRCOLORS values and we can print it out when Gogh applies the theme. The user then can copy those values to their .bashrc or whatever shell config

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

No branches or pull requests

2 participants