Ivan Molodetskikh
9f1b4ee299
Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itself
2024-02-21 07:27:49 +04:00
Ivan Molodetskikh
a9fcbf81eb
Export NIRI_SOCKET to systemd/dbus environment
2024-02-12 08:56:39 +04:00
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
Kirill Chibisov
f3e04981d8
Try to pick user login shell instead of assuming bash
...
The trick is inspired by `gnome-session`.
2023-10-17 19:05:58 +04:00
Ivan Molodetskikh
d203e70b0f
niri-session: Run as login bash
2023-08-27 13:07:36 +04:00
Ivan Molodetskikh
a54e048f41
niri-session: Unset environment variables
...
Without this, logging out and then back in doesn't work because
WAYLAND_DISPLAY is left for some reason.
2023-08-27 10:27:57 +04:00
Ivan Molodetskikh
d268cfcf9f
Add initial session / systemd integration
2023-08-27 07:37:36 +04:00