summaryrefslogtreecommitdiff
path: root/install/shell.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-22 14:25:41 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-22 14:25:41 +1100
commit669eaa61cbead28957c0b541212e05a8ca8c7a7f (patch)
tree064b476d7757cd8abb19faddff67defba0c538bf /install/shell.fish
parentreadme: update help message (diff)
downloadcaelestia-cli-669eaa61cbead28957c0b541212e05a8ca8c7a7f.tar.gz
caelestia-cli-669eaa61cbead28957c0b541212e05a8ca8c7a7f.tar.bz2
caelestia-cli-669eaa61cbead28957c0b541212e05a8ca8c7a7f.zip
install: better install + use data and state
Don't complete remove repos, use git pull instead Use XDG_DATA_HOME and XDG_STATE_HOME
Diffstat (limited to 'install/shell.fish')
-rwxr-xr-xinstall/shell.fish6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/shell.fish b/install/shell.fish
index c48b817..2e9d117 100755
--- a/install/shell.fish
+++ b/install/shell.fish
@@ -5,10 +5,10 @@
install-deps git dart-sass libastal-gjs-git libastal-meta npm curl libnotify ttf-material-symbols-variable-git ttf-jetbrains-mono-nerd ttf-rubik-vf pacman-contrib
install-optional-deps 'uwsm (for systems using uwsm)' 'yay (AUR package management)' 'fd (launcher file search)' 'wl-clipboard (clipboard support)' 'foot (opening stuff in terminal)'
-set -l shell $CONFIG/shell
+set -l shell $C_DATA/shell
-confirm-overwrite $shell
-git clone 'https://github.com/caelestia-dots/shell.git' $shell
+# Update/Clone repo
+update-repo shell $shell
cd $shell || exit
npm install