niri/resources/niri-shutdown.target
Ivan Molodetskikh f085384bc7 Add and call niri-shutdown.target
Sometimes graphical-session.target lingers on after niri quits, leading
to services not being started on a quick relogin. To work around this,
add and run a systemd target that conflicts with
graphical-session.target and forces its shutdown.
2023-11-25 11:01:23 +04:00

8 lines
219 B
SYSTEMD

[Unit]
Description=Shutdown running niri session
DefaultDependencies=no
StopWhenUnneeded=true
Conflicts=graphical-session.target graphical-session-pre.target
After=graphical-session.target graphical-session-pre.target