rich icon indicating copy to clipboard operation
rich copied to clipboard

[REQUEST] Global settings/theming config

Open YodaEmbedding opened this issue 2 years ago • 1 comments

How would you improve Rich?

Implement a global per-user config that resides in ${XDG_CONFIG_HOME}/rich/config.toml (e.g., ~/.config/rich/config.toml) that can control settings like theming.

What problem does it solve for you?

  1. No longer required to modify the project's source code at all. Thus, the source code does not need to mention rich at all. This is good when, e.g., the user does not own the project but still wants rich tracebacks with their preferred style.
  2. The same theme is now available for all projects on the user's system, with no modification required to every project or file.
  3. Users can now choose alternatives to rich if they want.

YodaEmbedding avatar Nov 19 '23 00:11 YodaEmbedding

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

github-actions[bot] avatar Nov 19 '23 00:11 github-actions[bot]