cosmic-greeter/daemon/src
Lionel DARNIS bf630a4b57 fix(daemon): resolve outputs.ron from the user's passwd home
The greeter daemon runs as root without HOME set, so
xdg::BaseDirectories resolved the state dir against root's
environment and never found the user's cosmic-comp output layout.
The greeter therefore came up with the default monitor arrangement
instead of the saved one.

Resolve the home directory from the passwd entry of the user being
described, read ~/.local/state/cosmic-comp/outputs.ron directly, and
fall back to an empty list when the file is absent.

Also revert the two version fields that the 1.3.0 bulk bump rewrote by
mistake: greetd_ipc has no 1.3.0 release, and the crate version is kept
at 0.1.0 to stay consistent with Cargo.lock so --locked builds work.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:29:20 +02:00
..
lib.rs fix(daemon): resolve outputs.ron from the user's passwd home 2026-08-07 16:29:20 +02:00
main.rs chore: add rustfmt config 2026-04-29 00:20:17 +02:00