diff options
| author | Robert Günzler <r@gnzler.io> | 2020-06-23 12:56:18 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-06-23 12:59:09 +0200 |
| commit | 269e8b88d68b1d48e2af92ef5b4b005f0bc229a9 (patch) | |
| tree | 7ad56f5db70dac6a11f8559e30b41883e4ef9037 /.config/alacritty/ovl.sh | |
| parent | 53e5c16e508354b533c4cc61f45b88aee275d669 (diff) | |
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
Diffstat (limited to '.config/alacritty/ovl.sh')
| -rwxr-xr-x | .config/alacritty/ovl.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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" "$@" |