mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 02:24:14 -05:00
* add systemd session target * session: stop graphical-session so we block, near other systemd cleanup * session: don't start session ourselves if MANAGERPID is set This avoids doing systemd stuff if we're already in a systemd-managed session, like UWSM. Env vars and targets and such should already be handled for us. * session: store state, rather than rechecking env var at exit --------- Co-authored-by: Dregu <dregu@dreg.us>
7 lines
181 B
SYSTEMD
7 lines
181 B
SYSTEMD
[Unit]
|
|
Description=Hyprland session
|
|
BindsTo=graphical-session.target
|
|
Wants=graphical-session-pre.target
|
|
After=graphical-session-pre.target
|
|
PropagatesStopTo=graphical-session.target
|