mirror of
https://github.com/YaLTeR/niri.git
synced 2024-10-03 23:43:26 +03: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
|