diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-19 17:26:31 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-19 17:26:31 +1100 |
| commit | 066b9256b2f1697db1f85cc529454dbb88bd5b57 (patch) | |
| tree | 37523825b471865d11ff3fb947d209ce29229ccb /wallpaper.fish | |
| parent | install: fix discord (diff) | |
| download | caelestia-cli-066b9256b2f1697db1f85cc529454dbb88bd5b57.tar.gz caelestia-cli-066b9256b2f1697db1f85cc529454dbb88bd5b57.tar.bz2 caelestia-cli-066b9256b2f1697db1f85cc529454dbb88bd5b57.zip | |
scheme: new way of tracking
centralise the colours so all of them are kept here
Diffstat (limited to 'wallpaper.fish')
| -rwxr-xr-x | wallpaper.fish | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wallpaper.fish b/wallpaper.fish index 6276d47..80f510a 100755 --- a/wallpaper.fish +++ b/wallpaper.fish @@ -112,7 +112,10 @@ else # Generate colour scheme for wallpaper set -l src (dirname (status filename)) - $src/scheme/apply-scheme.fish $chosen_wallpaper + $src/scheme/gen-scheme.fish $chosen_wallpaper > $src/data/schemes/dynamic.txt + if test -f $CACHE/scheme/current.txt -a "$(cat $CACHE/scheme/current-name.txt)" = 'dynamic' + cp $src/data/schemes/dynamic.txt $CACHE/scheme/current.txt + end # Store the wallpaper chosen mkdir -p $cache_dir |