tv alacritty: install config read-writable

This commit is contained in:
tv 2023-01-29 13:31:04 +01:00
parent fe34f42c99
commit c0ec617d22

View File

@ -104,7 +104,7 @@ let
ref=$(! test -e "$HOME"/ref || ${pkgs.coreutils}/bin/cat "$HOME"/ref) ref=$(! test -e "$HOME"/ref || ${pkgs.coreutils}/bin/cat "$HOME"/ref)
if test "$ref" != ${config-file}; then if test "$ref" != ${config-file}; then
echo ${config-file} > "$HOME"/ref echo ${config-file} > "$HOME"/ref
${pkgs.coreutils}/bin/cp ${config-file} "$HOME"/.alacritty.yml ${pkgs.coreutils}/bin/install -m 644 ${config-file} "$HOME"/.alacritty.yml
fi fi
''; '';
in in