From 669eaa61cbead28957c0b541212e05a8ca8c7a7f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 22 Feb 2025 14:25:41 +1100 Subject: install: better install + use data and state Don't complete remove repos, use git pull instead Use XDG_DATA_HOME and XDG_STATE_HOME --- install/foot.fish | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'install/foot.fish') diff --git a/install/foot.fish b/install/foot.fish index 8e9c51e..941630f 100755 --- a/install/foot.fish +++ b/install/foot.fish @@ -4,10 +4,9 @@ install-deps git foot inotify-tools -set -l foot $CONFIG/../foot +set -l dist $CONFIG/foot -confirm-overwrite $foot -git clone 'https://github.com/caelestia-dots/foot.git' $foot -sed -i 's|$SRC|'$foot'|g' $foot/foot.ini +update-repo foot $dist +sed -i 's|$SRC|'$dist'|g' $dist/foot.ini log 'Done.' -- cgit v1.2.3-freya