forked from Shinonome/caelestia-cli
discord: use equibop + midnight theme
This commit is contained in:
+5
-33
@@ -8,6 +8,7 @@ end
|
||||
. (dirname (status filename))/util.fish
|
||||
|
||||
install-deps git
|
||||
install-optional-deps 'arrpc (rich presence)'
|
||||
|
||||
set -l systemd $CONFIG/../systemd/user
|
||||
set -l client $CONFIG/../$argv[1]
|
||||
@@ -23,41 +24,12 @@ if test -d $systemd
|
||||
|
||||
echo "[Service]
|
||||
Type=oneshot
|
||||
ExecStart=$discord/monitor/update.fish" > $systemd/discord-monitor-scheme.service
|
||||
cp $discord/monitor/discord-monitor-scheme.path $systemd/discord-monitor-scheme.path
|
||||
ExecStart=$discord/monitor/update.fish" > $systemd/$discord-monitor-scheme.service
|
||||
cp $discord/monitor/discord-monitor-scheme.path $systemd/$discord-monitor-scheme.path
|
||||
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now discord-monitor-scheme.path
|
||||
systemctl --user start discord-monitor-scheme.service
|
||||
end
|
||||
|
||||
# Optionally install arRPC
|
||||
read -l -p "input 'Install arRPC? [Y/n] ' -n" confirm
|
||||
if test "$confirm" = 'n' -o "$confirm" = 'N'
|
||||
log 'Skipping.'
|
||||
else
|
||||
log 'Installing arRPC...'
|
||||
|
||||
install-deps npm
|
||||
git clone 'https://github.com/OpenAsar/arrpc.git' $discord/arrpc
|
||||
cd $discord/arrpc || exit
|
||||
npm install
|
||||
|
||||
echo "[Unit]
|
||||
Description=arRPC Discord RPC daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=node $discord/arrpc/src
|
||||
Restart=on-failure
|
||||
WorkingDirectory=$discord/arrpc
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target" > $systemd/arrpc.service
|
||||
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now arrpc.service
|
||||
systemctl --user enable --now $discord-monitor-scheme.path
|
||||
systemctl --user start $discord-monitor-scheme.service
|
||||
end
|
||||
|
||||
# Link themes to client config
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
. (dirname (status filename))/util.fish
|
||||
|
||||
install-deps git hyprland-git hyprpaper-git okolors-git imagemagick wl-clipboard fuzzel-git socat foot jq python
|
||||
install-optional-deps 'vesktop-bin (discord client)' 'btop (system monitor)' 'wf-recorder (screen recorder)' 'grim (screenshot tool)' 'firefox (web browser)' 'spotify-adblock (music player)'
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user