scheme: new way of tracking

centralise the colours so all of them are kept here
This commit is contained in:
2 * r + 2 * t
2025-02-19 17:26:31 +11:00
parent bd45501b31
commit 066b9256b2
17 changed files with 188 additions and 288 deletions
+3 -1
View File
@@ -31,6 +31,8 @@ test "$(cat $CACHE/scheme/current.txt)" = dynamic && gsettings set org.gnome.des
set -l names rosewater flamingo pink mauve red maroon peach yellow green teal sky sapphire blue lavender text subtext1 subtext0 overlay2 overlay1 overlay0 surface2 surface1 surface0 base mantle crust
set -l colours ($src/autoadjust.py $colour_scheme (okolors $img -k 15 -w 0 -l $light_vals))
for i in (seq 1 (count $colours))
set -l last (count $colours)
for i in (seq 1 (math $last - 1))
echo "$names[$i] $colours[$i]"
end
echo -n "$names[$last] $colours[$last]"