Watch
1
0
Fork
You've already forked souveraine
0

order sessiond at graphical-session-pre

The authority takes ext-session-lock before any surface exists, which is the
window -pre reserves. It cannot start earlier — ext-session-lock is a Wayland
protocol and needs the compositor's socket. Also drops the injected venv
variable from eleven surface scripts; each finds the path itself.
This commit is contained in:
Fimeg 2026-08-15 10:54:30 -04:00
commit e485b91c14
10 changed files with 17 additions and 15 deletions

View file

@ -1,8 +1,10 @@
[Unit]
Description=Souveraine session authority (lock-before-shell, lock-past-shell-death)
# Started explicitly from the hyprland.start hook after WAYLAND_DISPLAY is
# imported into the user manager — same lifecycle pattern as hypridle.
PartOf=graphical-session.target
# graphical-session-pre, not graphical-session: the authority takes
# ext-session-lock before any surface exists, and -pre is the window systemd
# already reserves for that. It cannot start earlier — ext-session-lock is a
# Wayland protocol and needs the compositor's socket.
PartOf=graphical-session-pre.target
[Service]
ExecStart=/usr/bin/souveraine-sessiond
@ -10,4 +12,4 @@ Restart=on-failure
RestartSec=1
[Install]
WantedBy=graphical-session.target
WantedBy=graphical-session-pre.target