changeset 717:164683291d2f

feat: setup fsh colorscheme in darkmode
author zegervdv <zegervdv@me.com>
date Sat, 03 Dec 2022 11:28:59 +0100
parents 787e0516daa5
children 451632dcb1dd
files .chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl dot_config/fsh/overlay.ini dot_config/fsh/overlay.ini.tmpl
diffstat 3 files changed, 38 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- a/.chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl	Sat Dec 03 11:20:16 2022 +0100
+++ b/.chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl	Sat Dec 03 11:28:59 2022 +0100
@@ -1,7 +1,7 @@
 {{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
 #!/usr/bin/env zsh
 
-# overlay hash: {{ include "dot_config/fsh/overlay.ini" | sha256sum }}
+# overlay hash: {{ include "dot_config/fsh/overlay.ini.tmpl" | sha256sum }}
 
 source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
 
--- a/dot_config/fsh/overlay.ini	Sat Dec 03 11:20:16 2022 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-[base]
-unknown-token = #d71707
-
-[paths]
-path          = #0b51a6
-path-to-dir   = #4f9fcf
-pathseparator = #4f9eeb
-
-[command-point]
-reserved-word  = #4e279a
-subcommand     = #4e279a
-builtin        = green
-function       = green
-command        = green
-precommand     = green
-hashed-command = green
-global-alias   = #2f6f9f,bg:#f5faff
-
-[arguments]
-single-hyphen-option = #2f6f9f,bg:#f5faff
-double-hyphen-option = #2f6f9f,bg:#f5faff
-single-quoted-argument = #000000,bg:#e8ffd5,bold
-double-quoted-argument = #000000,bg:#e8ffd5,bold
-dollar-quoted-argument = #000000,bg:#e8ffd5,bold
-
-[other]
-variable = #7653c1,bg:#f3f2ff
-
-[for-loop]
-foroper = #2f6f9f,bg:#f4faff
-
-[math]
-mathnum = #7653c1,bg:#f3f2ff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dot_config/fsh/overlay.ini.tmpl	Sat Dec 03 11:28:59 2022 +0100
@@ -0,0 +1,37 @@
+{{ if .dark }}
+# No config
+{{ else }}
+[base]
+unknown-token = #d71707
+
+[paths]
+path          = #0b51a6
+path-to-dir   = #4f9fcf
+pathseparator = #4f9eeb
+
+[command-point]
+reserved-word  = #4e279a
+subcommand     = #4e279a
+builtin        = green
+function       = green
+command        = green
+precommand     = green
+hashed-command = green
+global-alias   = #2f6f9f,bg:#f5faff
+
+[arguments]
+single-hyphen-option = #2f6f9f,bg:#f5faff
+double-hyphen-option = #2f6f9f,bg:#f5faff
+single-quoted-argument = #000000,bg:#e8ffd5,bold
+double-quoted-argument = #000000,bg:#e8ffd5,bold
+dollar-quoted-argument = #000000,bg:#e8ffd5,bold
+
+[other]
+variable = #7653c1,bg:#f3f2ff
+
+[for-loop]
+foroper = #2f6f9f,bg:#f4faff
+
+[math]
+mathnum = #7653c1,bg:#f3f2ff
+{{ end }}