diff options
| author | Elio Torquet <92248577+elioTrqt@users.noreply.github.com> | 2025-08-04 01:14:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-04 15:14:10 +1000 |
| commit | 06a710249011550b128b07d6245685659067512a (patch) | |
| tree | ac95217b9b0d6662b31a714e2e50355d119490be /src/caelestia/utils/paths.py | |
| parent | shell: fix log when no log rules (diff) | |
| download | caelestia-cli-06a710249011550b128b07d6245685659067512a.tar.gz caelestia-cli-06a710249011550b128b07d6245685659067512a.tar.bz2 caelestia-cli-06a710249011550b128b07d6245685659067512a.zip | |
theme: add template system (#36)
* user template system
* fix when templates dir doesnt exist
Also color -> colour
---------
Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Diffstat (limited to 'src/caelestia/utils/paths.py')
| -rw-r--r-- | src/caelestia/utils/paths.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caelestia/utils/paths.py b/src/caelestia/utils/paths.py index a4ef36f..923c99c 100644 --- a/src/caelestia/utils/paths.py +++ b/src/caelestia/utils/paths.py @@ -17,6 +17,8 @@ c_cache_dir = cache_dir / "caelestia" cli_data_dir = Path(__file__).parent.parent / "data" templates_dir = cli_data_dir / "templates" +user_templates_dir = c_config_dir / "templates" +theme_dir = c_state_dir / "theme" scheme_path = c_state_dir / "scheme.json" scheme_data_dir = cli_data_dir / "schemes" |