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: control over the color if I want to change it #48

Open
SHND opened this issue Feb 26, 2022 · 2 comments
Open

Feature request: control over the color if I want to change it #48

SHND opened this issue Feb 26, 2022 · 2 comments

Comments

@SHND
Copy link

SHND commented Feb 26, 2022

Problem:

users (developer using window colors) may not like to change the root_directory_name but is forced to see a theme that they hate.

Proposing an idea:

Since it seems that you use the hash to come up with window colors, means:

createColorHex(hash(root_directory_name))

If you add a global setting to your project to map root_directory_name to some user chosen value, you can give some sort of control to users, who really doesn't like the color of the window but don't want to rename their project root directory name.

// Lets say `global_settings_map` is the mapping between `root_directory_name` to `user_choice_value`

user_choice_value = global_settings_map.get(root_directory_name)
createColorHex(hash(root_directory_name + user_choice_value))

Let me know if it's not clear what I mean, but I believe this can be a great useful feature.

@mayrholu
Copy link

It would be great if the user could set the "user_choice_value" not only globally but per project. That way multiple projects with similar names would no longer end up with the same color but could be differentiated properly.

@closesimple-wl
Copy link

closesimple-wl commented Nov 23, 2023

Why is it a hash of the directory name in the first place? Should be a randomly chosen color (from a pool, perhaps).

And then add a command to re-roll the color selection if desired.

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

3 participants