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

Basic user configuration #1

Open
oz opened this issue Jan 30, 2021 · 4 comments
Open

Basic user configuration #1

oz opened this issue Jan 30, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@oz
Copy link
Owner

oz commented Jan 30, 2021

The current "configuration story" simply loads a list of timezones from the environment variable TZ_LIST: this is just fine for me. The same could be said of the colors: they're just fine for my dark terminal... but probably not for everyone.

If I get enough complaints, maybe I'll consider making the colors a configuratble option, loaded from the user's config. directory. Then the TZ_LIST env var could either disappear or enhance a file configuration variable. 🤔

@oz oz added the enhancement New feature or request label Jan 30, 2021
@oz oz closed this as completed Feb 3, 2021
@oz oz reopened this Feb 3, 2021
@GabMus
Copy link

GabMus commented Mar 16, 2021

As for colors you could give the option to just use the built-in terminal colors. That would work fine for most people I think.

@markstos
Copy link

I agree using the terminal colors should be sufficient. Also, using the environment variable seems like sufficient configuration support.

@wyne
Copy link
Contributor

wyne commented Aug 28, 2024

I have a draft of a feature to load configuration from a toml file instead. I think this could much more easily allow for color settings. wyne#1

@oz
Copy link
Owner Author

oz commented Aug 29, 2024

I have a draft of a feature to load configuration from a toml file instead. I think this could much more easily allow for color settings. wyne#1

Thanks for the PR! I think that TOML could work well for config. 👍🏻

I'll take a look at the PR in a few days as I'll be offline and computer-less until next week. 🐢

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

No branches or pull requests

4 participants