diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 14:25:41 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 14:25:41 +1100 |
| commit | 669eaa61cbead28957c0b541212e05a8ca8c7a7f (patch) | |
| tree | 064b476d7757cd8abb19faddff67defba0c538bf /install/scripts.fish | |
| parent | readme: update help message (diff) | |
| download | caelestia-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/scripts.fish')
| -rwxr-xr-x | install/scripts.fish | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/install/scripts.fish b/install/scripts.fish index 3cca775..bc5770b 100755 --- a/install/scripts.fish +++ b/install/scripts.fish @@ -5,18 +5,17 @@ install-deps git hyprland-git hyprpaper-git okolors-git imagemagick wl-clipboard fuzzel-git socat foot jq python install-optional-deps 'equibop-bin (discord client)' 'btop (system monitor)' 'wf-recorder (screen recorder)' 'grim (screenshot tool)' 'firefox (web browser)' 'spotify-adblock (music player)' -set -l dist $CONFIG/scripts +set -l dist $C_DATA/scripts -# Clone repo -confirm-overwrite $dist -git clone 'https://github.com/caelestia-dots/scripts.git' $dist +# Update/Clone repo +update-repo scripts $dist # Install to path mkdir -p ~/.local/bin ln -s $dist/main.fish ~/.local/bin/caelestia # Install completions -mkdir -p $CONFIG/../fish/completions -cp $dist/completions/caelestia.fish $CONFIG/../fish/completions/caelestia.fish +mkdir -p $CONFIG/fish/completions +cp $dist/completions/caelestia.fish $CONFIG/fish/completions/caelestia.fish log 'Done.' |