mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-09 00:39:29 -05:00
scheme: new way of tracking
centralise the colours so all of them are kept here
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user