From 269e8b88d68b1d48e2af92ef5b4b005f0bc229a9 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 23 Jun 2020 12:56:18 +0200 Subject: alacritty: cleanup and restructure Adds a README that explains how it works. Introduces common extension prefixes to identify overlays and color sets and makes the script output to stdout instead of to file --- .config/alacritty/ovl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.config/alacritty/ovl.sh') diff --git a/.config/alacritty/ovl.sh b/.config/alacritty/ovl.sh index 1a7504e..12296b0 100755 --- a/.config/alacritty/ovl.sh +++ b/.config/alacritty/ovl.sh @@ -1,8 +1,9 @@ #!/bin/sh +# usage: ovl.sh COLORS ADDITIONAL_FILES... set -e -colors_yml=$1 +colors_yml=$1 ; shift [ -z "$colors_yml" ] && exit 1 set -x -yq m -x overlay.yml "$colors_yml" > alacritty.yml +yq m -x base.ovl.yml "$colors_yml" "$@" -- cgit 1.4.1