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 /scheme/gen-scheme.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 'scheme/gen-scheme.fish')
| -rwxr-xr-x | scheme/gen-scheme.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scheme/gen-scheme.fish b/scheme/gen-scheme.fish index aa0ddc7..82fa710 100755 --- a/scheme/gen-scheme.fish +++ b/scheme/gen-scheme.fish @@ -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]" |