diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-09 14:16:43 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-09 14:16:43 +0100 |
commit | 3be98e5ef5247042fd219dded572910305b1a5a4 (patch) | |
tree | 43b0f170be0cae8559e582415f9575828ca4e6b3 /.local/share/mode/lib/accent.sh | |
parent | 2dc5ec7085e1c1bbc406f2089dddf8f6e1d9d206 (diff) |
big restructure of `mode` scripts
Diffstat (limited to '.local/share/mode/lib/accent.sh')
-rw-r--r-- | .local/share/mode/lib/accent.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/share/mode/lib/accent.sh b/.local/share/mode/lib/accent.sh new file mode 100644 index 0000000..45643eb --- /dev/null +++ b/.local/share/mode/lib/accent.sh @@ -0,0 +1,10 @@ +#!/bin/sh +[ "$mode" == "light" ] && { + export accent="$color15" + export accent_text="$color0" +} +[ "$mode" == "dark" ] && { + export accent="$(mix_rgb $bg $color0 0.5)" + export accent_text="$fg" +} + |