install: better install + use data and state

Don't complete remove repos, use git pull instead
Use XDG_DATA_HOME and XDG_STATE_HOME
This commit is contained in:
2 * r + 2 * t
2025-02-22 14:25:41 +11:00
parent 9f51b6eeed
commit 669eaa61cb
16 changed files with 113 additions and 103 deletions
+3 -4
View File
@@ -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.'