forked from Shinonome/caelestia-cli
4f4109784d
Take any number of inputs Hardcode some custom clients For some reason test -e doesnt count broken links as existing idk why
26 lines
519 B
Fish
Executable File
26 lines
519 B
Fish
Executable File
#!/bin/fish
|
|
|
|
. (dirname (status filename))/util.fish
|
|
|
|
install-deps git
|
|
install-optional-deps 'arrpc (rich presence)'
|
|
|
|
set -l dist $C_DATA/discord
|
|
|
|
# Update/Clone repo
|
|
update-repo discord $dist
|
|
|
|
# Install systemd service
|
|
setup-systemd-monitor discord $dist
|
|
|
|
# Link themes to client configs
|
|
set -l clients discord vesktop equibop legcord $argv
|
|
for client in $clients
|
|
if test -d $CONFIG/$client
|
|
log "Linking themes for $client"
|
|
install-link $dist/themes $CONFIG/$client/themes
|
|
end
|
|
end
|
|
|
|
log 'Done.'
|