Repository navigation
config-profiles: add a profile picker - #4388
Merged
Merged
Conversation
A picker for config profiles that opens with `dms ipc call config-profile toggle`, for example on a keybind. It shows the profiles with their preview images; the arrow keys or the mouse wheel select one, Enter or a click switches to it and Escape closes it. All views wrap around. The look is set on the Manage profiles page, in a new Behavior card: Carousel (cards on a shaded screen, no modal surface), Grid (cards in a centered panel), or the dashboard's Profiles tab. The tab opens in the island when the island handles the dashboard, and the option reads Island or Dashboard accordingly through the same check the dash IPC routing uses. Without a bar or island it falls back to the Carousel. Pressing the key while the dashboard shows another tab switches to Profiles. The Profiles tab is off in the dashboard's tab row by default, so existing dashboards don't change. DModal gets an opt-in showSurface; without the surface it always draws the shade, also with Frame on, and the slide travel uses the animation offset. Every other modal is unchanged. The Behavior card has a Shortcut row like the Launcher page's. Both now use one SettingsShortcutRow. The picker is listed in the Keybinds catalog without a default key, since Super+P already cycles display profiles. The picker view setting doesn't travel with profiles.
Contributor
Claude reviewNo issues found. Checked: IPC |
6 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This adds a picker for config profiles that opens with
dms ipc call config-profile toggle, for example on a keybind. It shows the profiles with their preview images, the arrow keys or the mouse wheel select one and Enter or a click switches to it.There are three looks, set on the Manage profiles page:
All views wrap around, so the last profile is to the left of the first one. The Profiles tab is off in the dashboard's tab row by default, so existing dashboards don't change, but it can be turned on in the dashboard settings.
The Manage profiles page got a Behavior card at the top with the picker look and a Shortcut row like the one on the Launcher page, which shows the bound key and opens the Keybinds page. The picker is also listed in the Keybinds page as Profile Picker: Toggle.
It does not have a default keybind for now since I didnt know if that is desired and the obvious pick of super+p is already taken.
This is the second of three PRs for profiles and doesn't depend on #4385. A transition effect on switching profiles will be next.
Notes
The Profiles tab works with
dms ipc call dash open profileslike the other dashboard tabs.The Carousel has no panel behind the cards, so the shared modal got an option to drop its surface and always draw the shade, also with Frame on. Every other modal looks the same as before.
1 new term to translate: Profile picker.
Type of change
Related issues
Screenshots / video
recording_2026-11-22_23-41-06.mp4
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings