mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
f085384bc7
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.
8 lines
219 B
SYSTEMD
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
|