install: symlink user autostarts to desktop too

This commit is contained in:
Aminda Suomalainen 2025-09-29 09:59:51 +03:00
parent bc25d20691
commit 2d713af4c5
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -282,6 +282,10 @@ else
if hash xdg-user-dir 2> /dev/null; then
DESKTOP=$(xdg-user-dir DESKTOP)
if [ -d ~/.config/autostart ]; then
ln -nsfv ~/.config/autostart/*.desktop $DESKTOP/
fi
# Ensure there is foot-server.socket before creating a shortcut for footclient
if hash systemctl 2> /dev/null; then
systemctl --user enable --now foot-server.socket