Krolyxon
Commit 129bacc

Branches

Refs →

aurora129bacc

install.sh: enable aurora.service

Author
krolyxon
Date
2026-10-24 20:44 +0530
Parent
f2d7765
Commit
129baccdafec2db26fc888a95ec8509495b10bf7

+18 −0

1 file changed

  1. M install.sh +18 −0
M install.sh View
@@ -228,6 +228,7 @@ This script is provided AS IS, WITHOUT ANY WARRANTY. It will:
228228 • Move conflicting files in your \$HOME to ~/.dotfiles-backup/
229229 • Change your login shell to zsh
230230 • Optionally write /etc/keyd and enable keyd
231+• Enable the aurora.service user unit
231232
232233 Proceed at your OWN RISK."
233234 )
@@ -373,6 +374,23 @@ if command -v keyd >/dev/null 2>&1; then
373374 fi
374375
375376
377+#########################
378+## Enable aurora shell ##
379+#########################
380+# User unit, stowed to ~/.config/systemd/user. Hyprland starts it at login,
381+# enabling it also ties it to graphical-session.target. No --now: no session yet.
382+if [[ -f "$HOME/.config/systemd/user/aurora.service" ]]; then
383+ if confirm "Enable aurora.service (the desktop shell)?"; then
384+ systemctl --user daemon-reload
385+ systemctl --user enable aurora.service \
386+ && log SUCCESS "Successfully enabled aurora.service" \
387+ || log ERROR "Couldn't enable aurora.service (run 'systemctl --user enable aurora' after logging in)"
388+ fi
389+else
390+ log WARN "aurora.service is not stowed, skipping"
391+fi
392+
393+
376394 ####################
377395 ## Final dialogue ##
378396 ####################