aboutsummaryrefslogtreecommitdiff
path: root/resources/niri-session
AgeCommit message (Collapse)Author
2025-07-15niri-session: Also unset DISPLAYIvan Molodetskikh
We set it now for xwayland-satellite integration.
2025-07-14Detect external session managementVladimir-csp
This should make `uwsm start niri.desktop` possible like with other compositors.
2025-01-14make niri-session POSIX compatible (#970)Erica Z
* make niri-session POSIX compatible * Update resources/niri-session --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-10-13Add support for running as a dinit service (#728)Mark Karlinsky
* Added dinit services * Added dinit support to niri-session * Replaced shutdown script for dinit with a single command execution * Added dinit service files to Getting Started install tables * Fix typo in resources/dinit/niri Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Fixed mistakes in wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * niri-session does not start dinit anymore --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-06-09Fix typos (#429)Ujp8LfXBJ6wCPR
* Fix typos reported by "typos" crate https://github.com/crate-ci/typos * Ignore typo datas -> data See https://github.com/crate-ci/typos?tab=readme-ov-file#false-positives for more configureability. --------- Co-authored-by: Carl Hjerpe <git@hjerpe.xyz> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-02-21Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itselfIvan Molodetskikh
2024-02-12Export NIRI_SOCKET to systemd/dbus environmentIvan Molodetskikh
2023-11-25Add and call niri-shutdown.targetIvan Molodetskikh
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-10-17Try to pick user login shell instead of assuming bashKirill Chibisov
The trick is inspired by `gnome-session`.
2023-08-27niri-session: Run as login bashIvan Molodetskikh
2023-08-27niri-session: Unset environment variablesIvan Molodetskikh
Without this, logging out and then back in doesn't work because WAYLAND_DISPLAY is left for some reason.
2023-08-27Add initial session / systemd integrationIvan Molodetskikh