feat(scripts): enable Vicinae launcher daemon on desktop roles
This commit is contained in:
1 parent
5f6a510432
commit
3fb81da4ea
1 file changed
+8
@@ -17,6 +17,14 @@ if [ -f "$HOME/.config/systemd/user/projects-sync.timer" ] && command -v systemc
|
|||||||
systemctl --user daemon-reload || true
|
systemctl --user daemon-reload || true
|
||||||
systemctl --user enable --now projects-sync.timer || true
|
systemctl --user enable --now projects-sync.timer || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Vicinae launcher daemon. The package ships the unit (WantedBy=
|
||||||
|
# graphical-session.target, which uwsm starts); only desktop/laptop roles
|
||||||
|
# install vicinae, so the unit's presence is the role gate.
|
||||||
|
if [ -f /usr/lib/systemd/user/vicinae.service ] && command -v systemctl >/dev/null 2>&1; then
|
||||||
|
systemctl --user daemon-reload || true
|
||||||
|
systemctl --user enable --now vicinae.service || true
|
||||||
|
fi
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in new issue
Block a user