aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/lib/accent.sh
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/mode/lib/accent.sh')
-rw-r--r--.local/share/mode/lib/accent.sh10
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"
+}
+