diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-09-24 11:45:58 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-09-24 11:45:58 +0200 |
commit | f809e61b33336a0959562d40ab94cd335ad72e15 (patch) | |
tree | 18db7b8473f8782d53cbc28753df3d895d16b088 /.local/share | |
parent | 1ac55ad9e21ea38f66682275cea83d7c7427d9aa (diff) |
better fg_alt in chrome theme
Diffstat (limited to '.local/share')
-rwxr-xr-x | .local/share/bin/mode | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/share/bin/mode b/.local/share/bin/mode index 57a2021..27851e2 100755 --- a/.local/share/bin/mode +++ b/.local/share/bin/mode @@ -156,11 +156,12 @@ switch_chrome() { rm -f 'Cached Theme.pak' 'bg.png' 'manifest.json' convert -size 100x100 "xc:`get_color background`" bg.png BG_ALT=$(mix_rgb $(get_color color8) $(get_color color0) '0.2') + FG_ALT=$(mix_rgb $(get_color color15) $(get_color color8) '0.5') jq -nc \ --argjson bg "`get_color_rgb_array color0`" \ --argjson bg_alt "`hex_to_rgb_array $BG_ALT`" \ --argjson fg "`get_color_rgb_array color7`" \ - --argjson fg_alt "`get_color_rgb_array color8`" \ + --argjson fg_alt "`hex_to_rgb_array $FG_ALT`" \ '{ "description": "colorscheme generated by mode", "manifest_version": 2, |