Skip to content

Lock: status cluster in the corner - #82

Merged
henrikklee merged 3 commits into
mainfrom
status-cluster
Nov 19, 2026
Merged

henrikklee merged 3 commits into
mainfrom
status-cluster

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

Stacked on #81 (no login screen); review that first.

The lock (which is also the boot screen since #81) now shows the status bar's right-hand cluster from the shell spec, top right:

  • mic, only while muted
  • rotation lock, only while locked
  • Stay Awake, only while on
  • Bluetooth, only while on
  • Wi-Fi (or wired)
  • battery percentage and glyph

No logo and no clock there, as the spec says: the launcher isn't reachable while locked, and the big clock shows the time.

How

  • One status object per module. The state behind the network, power and Bluetooth panels' bar icons moves into a Status.qml next to each panel. The panel binds its own property names to it, so the rest of each panel is untouched. The cluster, and next the control center's tiles, read the same objects, with no second copy of the logic: Wi-Fi's signal fallback, captive-portal detection, the battery script and the charging glyphs.
  • The cluster is plugins/status/StatusCluster.qml, the same for the lock and later the bar. Microphone mute comes from Pipewire or the shared UntypedInput, rotation lock from omarchy-rotation-lock's file, and Stay Awake from the idle service through the lock.
  • The bar keeps its icons for now. Its panels only open from their own bar widgets, so the bar switches to the cluster together with the control center, whose pages replace those panels.

Tested

In the Orchard simulator, on the lock:

  • the cluster sits centred in the 24-point band
  • rotation lock and Stay Awake appear and disappear with their switches
  • the wired glyph shows; the VM has no battery, Bluetooth adapter or microphone, so those stay hidden as they should

The desktop bar's network icon works from the shared status object. Not yet on a real tablet. Tests pass apart from the image-picker tests that need Linux.

The status bar's right-hand cluster from the shell spec, on the lock and
the login screen they now are: mic while muted, rotation lock and Stay
Awake while on, Bluetooth while on, Wi-Fi, battery percentage and glyph.

The state behind the network, power and Bluetooth panels' bar icons moves
into a Status.qml beside each panel, which the panel binds its own
properties to: the cluster, and next the control center, show exactly
what the bar shows, with no second copy of that logic. The bar gets the
cluster with the control center, whose pages replace the panels it opens.

Assisted-by: LLM
@henrikklee
henrikklee deleted the branch login-starts-locked November 19, 2026 21:07
@henrikklee henrikklee closed this Nov 19, 2026
@henrikklee henrikklee reopened this Nov 19, 2026
@henrikklee
henrikklee changed the base branch from login-starts-locked to main November 19, 2026 21:07
@henrikklee
henrikklee merged commit 74a0ab2 into main Nov 19, 2026
9 checks passed
@henrikklee
henrikklee deleted the status-cluster branch November 19, 2026 21:09
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