blob: 061321deb90ad4bd313c2b0127b3aafa12ac415c (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#!/bin/fish
. (dirname (status filename))/util.fish
install-deps git dart-sass libastal-gjs-git libastal-meta npm curl libnotify ttf-material-symbols-variable-git ttf-jetbrains-mono-nerd ttf-rubik-vf pacman-contrib app2unit-git
install-optional-deps 'uwsm (for systems using uwsm)' 'yay (AUR package management)' 'fd (launcher file search)' 'tod-bin (launcher todo action)' 'wl-clipboard (clipboard support)' 'foot (opening stuff in terminal)'
set -l shell $C_DATA/shell
# Update/Clone repo
update-repo shell $shell
cd $shell || exit
npm install
if which systemctl &> /dev/null
log 'Installing systemd service...'
set -l systemd $CONFIG/systemd/user
mkdir -p $systemd
echo -n "
[Unit]
Description=A visually stunning and feature-rich desktop shell made for the Caelestia project.
After=graphical-session.target
[Service]
Type=exec
ExecStart=$shell/run.fish
Restart=on-failure
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
" > $systemd/caelestia-shell.service
systemctl --user daemon-reload
systemctl --user enable --now caelestia-shell.service
end
log 'Done.'
|