diff options
| author | 2020-12-27 18:11:21 +0000 | |
|---|---|---|
| committer | 2020-12-27 18:11:21 +0000 | |
| commit | 390f0b2389a3b636165044de0481dff8f0657570 (patch) | |
| tree | 0bdb0b237f0cadebcf9fe7de3113e468febb7163 | |
| parent | 89f01a52fbe558dc400f1abd8b5e8a5620789619 (diff) | |
| parent | 34e5a16dac5ddbd7764fcbefaa3340002abec0e5 (diff) | |
Merge branch 'master' of github.com:HaoZeke/base16-zathura
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 7 | ||||
| -rw-r--r-- | templates/config.yaml | 6 | ||||
| -rw-r--r-- | templates/recolor.mustache | 32 |
4 files changed, 42 insertions, 4 deletions
@@ -6,3 +6,4 @@ templates/* !/templates/config.yaml !/templates/default.mustache +!/templates/recolor.mustache @@ -4,7 +4,7 @@ BUILD=pybase16 REPO=$(shell pwd) TEMPLATE=$(shell basename ${REPO}) -THEME_DIR=build_schemes +BUILD_DIR=build_schemes TEMPLATE_DIR=templates OUTPUT=output @@ -15,8 +15,9 @@ update: build: $(BUILD) build -t ${REPO} -o ${OUTPUT} - rm -rf ${THEME_DIR} - mv ${OUTPUT}/${TEMPLATE}/${THEME_DIR}/ ${THEME_DIR}/ + rm -rf ${BUILD_DIR} + mkdir ${BUILD_DIR} + cat templates/config.yaml | grep output | cut -d' ' -f6 | xargs -L1 -I {} mv ${OUTPUT}/${TEMPLATE}/{}/ ${BUILD_DIR}/ clean: rm -rf ${OUTPUT} ${TEMPLATE_DIR}/*/ diff --git a/templates/config.yaml b/templates/config.yaml index f7331ce..02e20b8 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -1,3 +1,7 @@ default: extension: .config - output: build_schemes + output: colors + +recolor: + extension: .config + output: recolors diff --git a/templates/recolor.mustache b/templates/recolor.mustache new file mode 100644 index 0000000..569aa29 --- /dev/null +++ b/templates/recolor.mustache @@ -0,0 +1,32 @@ +# Base16 {{scheme-name}} +# Author: {{scheme-author}} + +set default-bg "#{{base00-hex}}" +set default-fg "#{{base01-hex}}" + +set statusbar-fg "#{{base04-hex}}" +set statusbar-bg "#{{base02-hex}}" + +set inputbar-bg "#{{base00-hex}}" +set inputbar-fg "#{{base07-hex}}" + +set notification-bg "#{{base00-hex}}" +set notification-fg "#{{base07-hex}}" + +set notification-error-bg "#{{base00-hex}}" +set notification-error-fg "#{{base08-hex}}" + +set notification-warning-bg "#{{base00-hex}}" +set notification-warning-fg "#{{base08-hex}}" + +set highlight-color "#{{base0A-hex}}" +set highlight-active-color "#{{base0D-hex}}" + +set completion-bg "#{{base01-hex}}" +set completion-fg "#{{base0D-hex}}" + +set completion-highlight-fg "#{{base07-hex}}" +set completion-highlight-bg "#{{base0D-hex}}" + +set recolor-lightcolor "#{{base00-hex}}" +set recolor-darkcolor "#{{base06-hex}}" |
