aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-11-25 11:01:23 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-11-25 11:01:23 +0400
commitf085384bc70fb1ac5d19bcb71547b87bb475ee8c (patch)
tree21f7b302c83f00931533b3a303489e3179198efe /README.md
parent9eb5d5c22d1c470587c4fad06ed92b753a88d290 (diff)
downloadniri-f085384bc70fb1ac5d19bcb71547b87bb475ee8c.tar.gz
niri-f085384bc70fb1ac5d19bcb71547b87bb475ee8c.tar.bz2
niri-f085384bc70fb1ac5d19bcb71547b87bb475ee8c.zip
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6cb78579..f8b9738d 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ To do that, put files into the correct directories according to this table.
| `resources/niri.desktop` | `/usr/share/wayland-sessions/` |
| `resources/niri-portals.conf` | `/usr/share/xdg-desktop-portal/` |
| `resources/niri.service` | `/usr/lib/systemd/user/` |
+| `resources/niri-shutdown.target` | `/usr/lib/systemd/user/` |
Doing this will make niri appear in GDM and, presumably, other display managers.