blob: 2eff70a3dc9a25cfe95a86ec7dcecfa5c6592b1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/fish
if test -z "$argv[1]"
echo 'Usage: caelestia install discord <client_config_folder_name>'
exit 1
end
. (dirname (status filename))/util.fish
install-deps git
install-optional-deps 'arrpc (rich presence)'
set -l client $CONFIG/$argv[1]
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 config
confirm-overwrite $client/themes
ln -s $dist/themes $client/themes
log 'Done.'
|