aboutsummaryrefslogtreecommitdiff
path: root/.local/share
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-06-04 10:45:25 +0200
committerlonkaars <loek@pipeframe.xyz>2023-06-04 10:45:25 +0200
commitf23e0bc31eba1e46595afd345370babb408f9f9f (patch)
tree9544096151c2fc633ef8d298cc5a2dbf1b77b0c0 /.local/share
parent7d11253a69fa759037a29bacfe791df35229e5bf (diff)
switch light theme to github light
Diffstat (limited to '.local/share')
-rwxr-xr-x.local/share/bin/mode8
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/share/bin/mode b/.local/share/bin/mode
index fab2de6..533e81f 100755
--- a/.local/share/bin/mode
+++ b/.local/share/bin/mode
@@ -158,12 +158,12 @@ switch_chrome() {
cd ~/.cache/wal/chromium
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')
+ BG_ALT=$(mix_rgb $(get_color color7) $(get_color color0) '0.2')
+ FG_ALT=$(mix_rgb $(get_color color15) $(get_color color8) '0.6')
jq -nc \
- --argjson bg "`get_color_rgb_array color0`" \
+ --argjson bg "`get_color_rgb_array background`" \
--argjson bg_alt "`hex_to_rgb_array $BG_ALT`" \
- --argjson fg "`get_color_rgb_array color7`" \
+ --argjson fg "`get_color_rgb_array foreground`" \
--argjson fg_alt "`hex_to_rgb_array $FG_ALT`" \
'{
"description": "colorscheme generated by mode",