Skip to content

refactor: get the outputs config from cosmic-comp-config#395

Draft
hojjatabdollahi wants to merge 1 commit intopop-os:masterfrom
hojjatabdollahi:hojjat/matching-config
Draft

refactor: get the outputs config from cosmic-comp-config#395
hojjatabdollahi wants to merge 1 commit intopop-os:masterfrom
hojjatabdollahi:hojjat/matching-config

Conversation

@hojjatabdollahi
Copy link
Contributor

Previously greeter had to get the outputs.ron config from cosmic-comp-config and then match it to the available displays.

Now, it just sends the displays to the cosmic-comp-config and asks it to return the matching config. Moving the "match" logic to one place.

Currently this PR needs some cleanup (e.g. unnecessary freedesktop_entry_parser update). I'm just creating a draft to see if this approach is OK with the devs. This is part of this fix: pop-os/cosmic-comp#1988

@hojjatabdollahi hojjatabdollahi force-pushed the hojjat/matching-config branch 2 times, most recently from c9c583f to 25a9aa1 Compare January 21, 2026 17:36
Previously greeter had to get the outputs.ron config from
cosmic-comp-config and then match it to the available displays.

Now, it just sends the displays to the cosmic-comp-config and asks it to
return the matching config. Moving the "match" logic to one place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants