Commit Graph
2 Commits
Author SHA1 Message Date
BlackAngelTV f7789cd639 feat(session): read session state and greeter entries from logind
Switching needs to know whether a session owns the seat, is closing, or is
the greeter, and which session file the greeter will list for a desktop.
The catalog now keeps the logind State, exposes targeted lookups, and prefers
the active session so a closing one is never activated. Session ids are
compared numerically without std::stoi.
2026-11-04 15:42:22 +01:00
BlackAngelTV 75c7c5c0ad feat(session): switch desktop environments through logind sessions
Activate the target graphical session instead of rebooting, so a KDE or
GNOME session stays alive while another one is used. Switching relies on
logind VT activation, which needs no root privileges and never restarts
the display manager.
2026-11-04 13:06:26 +01:00