diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-16 18:07:29 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-16 18:07:29 +1000 |
| commit | 1cd8cae2d93f45d3199493b49f14591a3b619d5c (patch) | |
| tree | 41cb4f0dddda729322486d3b80ba967205338f69 | |
| parent | record: fix region (diff) | |
| download | caelestia-cli-1cd8cae2d93f45d3199493b49f14591a3b619d5c.tar.gz caelestia-cli-1cd8cae2d93f45d3199493b49f14591a3b619d5c.tar.bz2 caelestia-cli-1cd8cae2d93f45d3199493b49f14591a3b619d5c.zip | |
paths: fix custom path envs
Specify whole path instead of end
| -rw-r--r-- | src/caelestia/utils/paths.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/caelestia/utils/paths.py b/src/caelestia/utils/paths.py index d3a451c..14eb550 100644 --- a/src/caelestia/utils/paths.py +++ b/src/caelestia/utils/paths.py @@ -27,16 +27,16 @@ scheme_path = c_state_dir / "scheme.json" scheme_data_dir = cli_data_dir / "schemes" scheme_cache_dir = c_cache_dir / "schemes" -wallpapers_dir = pictures_dir / os.getenv("CAELESTIA_WALLPAPERS_DIR", "Wallpapers") +wallpapers_dir = os.getenv("CAELESTIA_WALLPAPERS_DIR", pictures_dir / "Wallpapers") wallpaper_path_path = c_state_dir / "wallpaper/path.txt" wallpaper_link_path = c_state_dir / "wallpaper/current" wallpaper_thumbnail_path = c_state_dir / "wallpaper/thumbnail.jpg" wallpapers_cache_dir = c_cache_dir / "wallpapers" -screenshots_dir = pictures_dir / os.getenv("CAELESTIA_SCREENSHOTS_DIR", "Screenshots") +screenshots_dir = os.getenv("CAELESTIA_SCREENSHOTS_DIR", pictures_dir / "Screenshots") screenshots_cache_dir = c_cache_dir / "screenshots" -recordings_dir = videos_dir / os.getenv("CAELESTIA_RECORDINGS_DIR", "Recordings") +recordings_dir = os.getenv("CAELESTIA_RECORDINGS_DIR", videos_dir / "Recordings") recording_path = c_state_dir / "record/recording.mp4" recording_notif_path = c_state_dir / "record/notifid.txt" |