From 6d3e84c30af55f9ed989f479f418bbf5a75f1e0e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 20 Feb 2025 00:00:01 +1100 Subject: scheme: accent colour --- data/schemes/frappe.txt | 3 ++- data/schemes/latte.txt | 3 ++- data/schemes/macchiato.txt | 3 ++- data/schemes/mocha.txt | 3 ++- data/schemes/onedark.txt | 3 ++- scheme/gen-scheme.fish | 7 ++++--- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/data/schemes/frappe.txt b/data/schemes/frappe.txt index 27c6573..8a9c80a 100644 --- a/data/schemes/frappe.txt +++ b/data/schemes/frappe.txt @@ -23,4 +23,5 @@ surface1 51576d surface0 414559 base 303446 mantle 292c3c -crust 232634 \ No newline at end of file +crust 232634 +accent 99d1db \ No newline at end of file diff --git a/data/schemes/latte.txt b/data/schemes/latte.txt index 692aeda..b2dbdb3 100644 --- a/data/schemes/latte.txt +++ b/data/schemes/latte.txt @@ -23,4 +23,5 @@ surface1 bcc0cc surface0 ccd0da base eff1f5 mantle e6e9ef -crust dce0e8 \ No newline at end of file +crust dce0e8 +accent 1e66f5 \ No newline at end of file diff --git a/data/schemes/macchiato.txt b/data/schemes/macchiato.txt index 42d038f..2ffa1e5 100644 --- a/data/schemes/macchiato.txt +++ b/data/schemes/macchiato.txt @@ -23,4 +23,5 @@ surface1 494d64 surface0 363a4f base 24273a mantle 1e2030 -crust 181926 \ No newline at end of file +crust 181926 +accent b7bdf8 \ No newline at end of file diff --git a/data/schemes/mocha.txt b/data/schemes/mocha.txt index 0f9b18e..7865bd8 100644 --- a/data/schemes/mocha.txt +++ b/data/schemes/mocha.txt @@ -23,4 +23,5 @@ surface1 45475a surface0 313244 base 1e1e2e mantle 181825 -crust 11111b \ No newline at end of file +crust 11111b +accent cba6f7 \ No newline at end of file diff --git a/data/schemes/onedark.txt b/data/schemes/onedark.txt index d9b06d2..1fc3631 100644 --- a/data/schemes/onedark.txt +++ b/data/schemes/onedark.txt @@ -23,4 +23,5 @@ surface1 3c414f surface0 30343e base 282c34 mantle 21242b -crust 1e2126 \ No newline at end of file +crust 1e2126 +accent d19a66 \ No newline at end of file diff --git a/scheme/gen-scheme.fish b/scheme/gen-scheme.fish index 82fa710..2cc54d0 100755 --- a/scheme/gen-scheme.fish +++ b/scheme/gen-scheme.fish @@ -31,8 +31,9 @@ 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)) -set -l last (count $colours) -for i in (seq 1 (math $last - 1)) +for i in (seq 1 (count $colours)) echo "$names[$i] $colours[$i]" end -echo -n "$names[$last] $colours[$last]" + +set -l accent (okolors $img -k 4 | cut -d ' ' -f 4) +echo -n "accent $accent" -- cgit v1.2.3-freya