Skip to content

Control center: main view - #83

Merged
henrikklee merged 40 commits into
mainfrom
control-center
Nov 19, 2026
Merged

henrikklee merged 40 commits into
mainfrom
control-center

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

Stacked on #82 (status cluster), which is stacked on #81. Review those first.

The control center's main view from the shell spec, opened by Super+Ctrl+1. That's upstream's key for the bar's first panel on the right, which the status cluster becomes. Scripts can open it with omarchy-shell omarchy.controlcenter toggle.

What's in it

  • Wi-Fi and Bluetooth tiles. A tap toggles them; the chevron, a long press or a right click opens the module. Subtitles: network name, "Wired", "Not connected", "Off" or "Sign in required"; for Bluetooth the device name, "2 connected", "Not connected" or "Off".
  • Brightness, with an "auto" mark while auto-brightness is on. Moving it pauses auto-brightness for 30 s, through the daemon's existing manual-change rule.
  • Volume, with the current output as a chip that opens the audio module.
  • Toggles: Mic (live = on), Rotation lock, Stay Awake and Keyboard.
  • Dimmed tiles that come alive with their backend: Balanced (power profiles), Focus, Night Light and Media.
  • Footer: the battery line opens the battery module; the power button opens the session actions.

On an iPad it's a 356-point panel below the bar at the right, with the rest of the screen dimmed by the theme's scrim; a tap outside closes it. On a phone it fills the screen, with the two sliders as tall squares.

Keyboard: Tab and the arrows move by position, Enter or Space act, left and right move a slider, right opens a tile's module, Esc closes.

Everything comes from the same status objects the bar and the lock read (#82), and all colours from theme tokens.

Not yet

  • Module pages: a module currently opens the bar's existing panel for it. The next PR turns those panels into the control center's pages.
  • Opening from the bar: clicking the cluster, and the top-edge pull-down.

Tested

In the Orchard simulator on the iPad:

  • opens through its command interface
  • tapping Rotation switches rotation lock
  • Esc closes
  • the VM has no Bluetooth, microphone or audio output, so those correctly show as unavailable

Not yet on the iPhone layout or a real tablet. Tests pass apart from the image-picker tests that need Linux.

The shell spec's control center, its main view: Wi-Fi and Bluetooth tiles
(tap toggles, the chevron, a long press or a right click opens the module),
brightness with its "auto" mark and volume with the output as a chip,
the Mic, Rotation, Awake and Keyboard toggles, the dimmed tiles still
waiting for their backend (power profiles, Focus, Night Light, media), and
the battery line with the session's power button.

An iPad shows it as a panel below the bar at the right over the dimmed
screen, a phone as the whole screen with the sliders as tall squares. It
reads the same status objects as the bar and the lock. Super+Ctrl+1
opens it (upstream's key for the bar's first panel on the right, which
the status cluster becomes), as does `omarchy-shell omarchy.controlcenter
toggle`. Keyboard: Tab and arrows move by position, Enter or Space act,
left and right move a slider, right opens a tile's module, Esc closes.

Until the module pages exist, a module opens the bar's panel for it.

Assisted-by: LLM
A user's labwc rc.xml is theirs, so a new binding reaches it only through
a migration: it goes in before the launcher's Super+Space.

Assisted-by: LLM
A finger pulling down from the right third of the bar brings the control
center down with it; pushed up, it goes back the same way. It follows the
finger (past fully open only against a little resistance), and let go, a
spring takes over at the finger's speed: a flick carries through, a slow
release eases in, and it lands with a slight overshoot. The card fades in
over the first part of the way and the screen dims with the pull. Opening
and closing from the keyboard use the same spring from rest.

The bar takes the touch only once it moves vertically, so a tap still
reaches its icons; the touch stays the bar's while the finger moves down
the screen, so no compositor change is needed.

Assisted-by: LLM
Scale from 86 % with the pull's progress, anchored where it is pulled
from (top right on an iPad, top on a phone), a shorter slide, and the
fade a little longer.

Assisted-by: LLM
The slide follows from the scale, so the scaled card's bottom is where
the finger is all the way down; at full reveal it sits in place.

Assisted-by: LLM
Let go to close, the card fades in 120 ms while the spring carries it
up; while a finger holds it, opacity follows the finger as before.

Assisted-by: LLM
The way out fades with position instead of time: full when open, nothing
once the card's bottom edge is at the bar, whether a finger pushes it up
or it was let go to close.

Assisted-by: LLM
A single press closes it and opens nothing else; a double press closes it
and opens the overview. The control center keeps a note in the runtime
directory while open, as the overview does, for the Home button to read.

Assisted-by: LLM
A drag held past the long-press time opened the Display (or Audio)
panel; a long press is now only a finger held still.

Assisted-by: LLM
As on iOS, a slider's level moves with the finger from wherever it lands;
a touch alone changes nothing, so a tap or the long press that opens the
page leaves the level as it is.

Assisted-by: LLM
Once the long press fired (the page opens), the touch is used up: nothing
after it moves the level, and a wobble below 10 points is no drag.

Assisted-by: LLM
…ught

Back to absolute levels: a tap puts it where it was tapped (when the
finger lifts), a drag follows the finger from its first move. Only a long
press, which opens the page, changes nothing.

Assisted-by: LLM
Still for a moment (neither a tap nor a drag), the slider takes the
pressed tint and shrinks a little until the finger lifts or moves.

Assisted-by: LLM
Held still for 0.4 s, a slider arms its page and shows it is held;
lifting opens the page, sliding off cancels and sliding back arms it
again. The level never moves in any of this.

Assisted-by: LLM
Held to its page, a move along the slider disarms it and the level
follows the finger after all; off it the other way still only cancels.

Assisted-by: LLM
Brightness gets the arrow chip the volume's output chip already is; a
tap on it opens the page. While a long press holds a slider, its chip
lights up in the accent: lifting goes there. The auto mark moves left of
it.

Assisted-by: LLM
No box: the arrow in the slider's own ink, a little muted, the accent
while a long press holds it. The output chip keeps its box.

Assisted-by: LLM
Its tap area took the slider's top end; taps there set the level again,
and the page opens by long press. The output chip stays a button.

Assisted-by: LLM
The volume's output chip and the tiles' chevrons become hints; a long
press arms a tile's page as it does a slider's (held look, page on lift,
slide off cancels). A right click still opens it with a mouse.

Assisted-by: LLM
Armed after 0.4 s, a control opens its page by itself 0.6 s later if the
finger is still on it; lifting before still opens it, sliding off still
cancels, and once open the rest of the touch does nothing.

Assisted-by: LLM
No grey tint on a pressed tile, toggle or held slider; the shrink (and an
armed page's hint in the accent) is enough.

Assisted-by: LLM
Moving the finger to cancel an armed long press dragged the control center
away; once armed, the tile keeps the touch, so moving only cancels.

Assisted-by: LLM
A drag starting on a tile or toggle dragged the control center away
instead of cancelling the press. Buttons now keep their touch as on iOS:
sliding off cancels (the press look goes), sliding back arms again; the
control center is dragged from its gaps, or put away by a tap outside.

Assisted-by: LLM
When a long press opened a page under a still-held finger, the main view
hid, let go of the touch, and the dismiss drag picked it up. That touch
now counts for nothing more until the finger lifts.

Assisted-by: LLM
While the touch that held a page open is still down, a cover over the
control center takes everything it does (hover included) until it lifts.

Assisted-by: LLM
While it moves the card is drawn once into a texture that is only scaled,
moved and faded, instead of every text and icon again each frame; at rest
it is drawn directly and stays sharp. The spring takes the real time since
the last frame in small fixed steps, so a slow frame moves it further
instead of slowing it down.

Assisted-by: LLM
Its card drew a plain 1-point line; it takes the popups' border spec from
the theme now, as the bar's popups (KeyboardPanel) do.

Assisted-by: LLM
Brightness and volume are full-width rows on a phone as on an iPad
(48 points tall there), instead of tall squares side by side.

Assisted-by: LLM
@henrikklee
henrikklee changed the base branch from status-cluster to main November 19, 2026 21:09
# Conflicts:
#	desktop/shell/bin/omarchy-home-button
@henrikklee
henrikklee merged commit e2c04d8 into main Nov 19, 2026
9 checks passed
@henrikklee
henrikklee deleted the control-center branch November 19, 2026 21:14
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.

1 participant