forked from Shinonome/caelestia-cli
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:
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user