Skip to content

Lay out Now as quick settings - #132

Merged
SumirSeth merged 6 commits into
mainfrom
feat/now-quick-settings
Nov 21, 2026
Merged

SumirSeth merged 6 commits into
mainfrom
feat/now-quick-settings

Conversation

@SumirSeth

@SumirSeth SumirSeth commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

What changed
Now is laid out like quick settings, following the mockup approved for 0.9:

  • Header: time and date, with battery and charging state on the right.
  • Wi-Fi and Bluetooth tiles: the tile toggles power, and › opens the list in place.
  • What's playing: a 2×2 tile with the app's icon (or a placeholder) and previous, play/pause and next. It keeps its size when playback stops.
  • Small tiles: Night light, Dark mode, Mute and Lock.
  • Volume row: a slider plus the output device. Its › opens the Sound controls from Open the Sound controls inside Now #130 in place, which replaces the separate Sound row.
  • Footer: Sleep, Restart, Shut down and Wisp Settings.

Arrow keys move between tiles, including onto each ›. Missing hardware hides its tile and the grid reflows. The tiles are fixed for now.

Compatibility
The built-in now.toml opts in with kind = "quick". A custom Now in %APPDATA%\wisp\surfaces keeps the list layout, and Wi-Fi, Bluetooth and Sound keep their look.

How I verified it
fmt, both clippy runs and the tests pass. Tests cover:

  • grid layout, including reflow without a battery or Bluetooth;
  • that the media tile keeps its place when playback stops;
  • arrow navigation across the grid and onto each ›;
  • the command behind each tile.

I checked launcher_demo screenshots at 96 and 120 DPI in dark and light. They use fixed sample state, so they never show the machine's live media.

Performance
No new polling or system APIs. Text layouts use a bounded cache. Still to measure: before/after frame times in a release build.

Not tested
On a real desktop:

  • the real toggles;
  • the Wi-Fi, Bluetooth and Sound lists, and Back;
  • dragging the slider;
  • the playback controls;
  • confirming and cancelling the power buttons;
  • missing hardware;
  • a custom Now.

Also Windows 10, other scales and two screens.

Album art isn't available from the current media state, so the tile uses the app's icon or a placeholder.

Fixes #109 (its quick-settings half; #127 covers pinning).

  • I understand every line of this change and tested a build of it.
  • fmt, both clippy runs and the tests pass.
  • CHANGELOG.md has an entry under Unreleased.

🤖 Generated with Claude Code

@SumirSeth SumirSeth added this to the 0.9.0 milestone Nov 21, 2026
@SumirSeth SumirSeth added the enhancement New feature or request label Nov 21, 2026
SumirSeth and others added 5 commits November 21, 2026 21:34
Keep custom Now specs in their existing list layout. Use separate controls for radio power and lists, and open Sound from the output name.

Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SumirSeth
SumirSeth force-pushed the feat/now-quick-settings branch from 8275826 to 951aa0a Compare November 21, 2026 16:06
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SumirSeth
SumirSeth force-pushed the feat/now-quick-settings branch from 951aa0a to d598b6e Compare November 21, 2026 16:06
@SumirSeth
SumirSeth merged commit 454cd5f into main Nov 21, 2026
1 check passed
@SumirSeth
SumirSeth deleted the feat/now-quick-settings branch November 21, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design the quick settings tab to make it similar to default windows and Ability to pin the apps to dock without opening them.

1 participant