Skip to content

Restore monitor priority when loading profiles#12

Open
lenar wants to merge 1 commit into
Kakiharu:mainfrom
lenar:fix-monitor-priority
Open

Restore monitor priority when loading profiles#12
lenar wants to merge 1 commit into
Kakiharu:mainfrom
lenar:fix-monitor-priority

Conversation

@lenar

@lenar lenar commented Apr 2, 2026

Copy link
Copy Markdown

Fixes #11

Monitor priority values are already saved in display.json (included in the kscreen-console json output), but load_profile.sh was not reading or applying them when building the kscreen-doctor command. This adds output.<name>.priority.<value> to the restore command, so monitor ordering is preserved across profile loads.

Changes

  • Extract priority from each output in the saved profile JSON
  • Pass output.$name.priority.$priority to kscreen-doctor

Testing

Tested on a multi-monitor setup - monitor priorities are now correctly restored when loading profiles.

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.

Save monitor priority in profiles?

1 participant