blob: f2fa19588c9ba28c2a006c4b93f0ff33e2344c80 (
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
|
#!/bin/fish
. (dirname (status filename))/util.fish
install-deps git quickshell curl jq ttf-material-symbols-variable-git ttf-jetbrains-mono-nerd ttf-ibm-plex app2unit-git fd fish python-aubio python-pyaudio python-numpy cava networkmanager bluez-utils ddcutil brightnessctl
install-optional-deps 'uwsm (for systems using uwsm)'
set -l shell $C_DATA/shell
# Update/Clone repo
update-repo shell $shell
if which systemctl &> /dev/null
log 'Installing systemd service...'
set -l systemd $CONFIG/systemd/user
mkdir -p $systemd
echo -n "
[Unit]
Description=A very segsy desktop shell.
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.'
|