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

Add support for loading a config file #3

Open
rwjblue opened this issue Apr 1, 2024 · 0 comments
Open

Add support for loading a config file #3

rwjblue opened this issue Apr 1, 2024 · 0 comments

Comments

@rwjblue
Copy link
Owner

rwjblue commented Apr 1, 2024

This could be used for a few different things:

  • Determine the default first day of week (would work on all platforms, instead of the current implementation which only works on macOS)
  • Support specifying custom "holidays" (pairing with Add colorized output support #2)
  • Configure automatic -A / -B values (e.g. always print a month before and after the currently displayed month)
  • Support configuring custom date range categories. Imagine being able to create your own idea of FY (e.g. H1).

Should likely be done in a TOML file around ~/.config/cal/config.toml.

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

1 participant