summaryrefslogtreecommitdiff
path: root/install/scripts.fish
blob: 59c8646e9d01eba5d8ae963b22e56aec9453ba96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/fish

. (dirname (status filename))/util.fish

install-deps git hyprland-git hyprpaper-git okolors-git imagemagick wl-clipboard fuzzel-git socat foot jq python xdg-user-dirs
install-optional-deps 'equibop-bin (discord client)' 'btop (system monitor)' 'wf-recorder (screen recorder)' 'grim (screenshot tool)' 'zen-browser (web browser)' 'spotify-adblock (music player)'

set -l dist $C_DATA/scripts

# Update/Clone repo
update-repo scripts $dist

# Install to path
install-link $dist/main.fish ~/.local/bin/caelestia

# Install completions
test -e $CONFIG/fish/completions/caelestia.fish && rm $CONFIG/fish/completions/caelestia.fish
mkdir -p $CONFIG/fish/completions
cp $dist/completions/caelestia.fish $CONFIG/fish/completions/caelestia.fish

log 'Done.'