Skip to content

config-profiles: add a profile picker - #4388

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:profile-picker
Nov 24, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:profile-picker

Conversation

@Conava

@Conava Conava commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

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:

  • Carousel: the cards float centered on a shaded screen
  • Grid: all cards in a grid in a centered panel
  • Island or Dashboard: the picker opens as a Profiles tab of the dashboard, or in the island when the island handles the dashboard. The options name shows which one applies.

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 profiles like 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

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

recording_2026-11-22_23-41-06.mp4

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: docs(dms): document the config profile picker dux-docs#223

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.
@github-actions github-actions Bot added feature ui Quickshell UI under quickshell/ labels Nov 22, 2026
@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.

Checked: IPC config-profile toggle and dash/island/modal routing in DMSShell, PopoutService and DMSShellIPC, the showSurface changes to DModal and DModalHost (other modals unchanged), the ProfilePicker card, content, tab and island face wiring against sibling dash faces, merging the new default profiles dash tab (stays disabled for saved configs), SettingsShortcutRow extraction and KeybindsService refcount, settings spec and profile never mapping, i18n, Theme tokens, D* wrappers and deprecated shims. The dux-docs PR is linked. Model: claude-opus-5-5.

@bbedward
bbedward merged commit d78a50c into duxlabs-dev:master Nov 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants