Commit Graph
5 Commits
Author SHA1 Message Date
SpriteandClaude Opus 5.5 74d85ecdfc Follow the desktop accent colour and colour scheme (XDG portal)
CI / check (pull_request) Successful in 10s
CI / native (pull_request) Successful in 1m18s
Read org.freedesktop.appearance accent-color and color-scheme from
org.freedesktop.portal.Settings over GDBus in the GTK stub and follow
SettingChanged. The accent recolours the selected tab, sliders, peak
meters and the checked Default button through an application-priority
GtkCssProvider (named colours and --accent-* variables too, for themes
that use them); the colour scheme sets the theme's dark/light variant.
Without a portal or accent the theme's own stays.

Colour conversion, WCAG contrast (readable foreground on the accent,
readable accent text on the window) and the CSS live in model/accent.mbt
with unit tests. The smoke test runs a fake portal on a private session
bus, switches the accent live from green to orange and renders the tabs
again (docs/screenshots/accent-*.png).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:28:19 +00:00
SpriteandClaude Sonnet 5.5 3ac96fea35 Merge origin/main into better-icons
CI / check (pull_request) Failing after 10s
CI / native (pull_request) Successful in 1m9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:48:27 +00:00
SpriteandClaude Sonnet 5.5 cf8bab0d36 Use real icons: per-device/app icon chains, volume icons, app icon
CI / check (pull_request) Failing after 9s
CI / native (pull_request) Successful in 1m5s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:43:28 +00:00
nandiandClaude Opus 5.5 f08f241edb Add live peak meters (pavucontrol-style level bars)
CI / check (push) Successful in 10s
CI / native (push) Successful in 1m39s
Each row on Playback, Output Devices and Input Devices gets a level bar
under its slider. A meter is a small capture pw_stream on WirePlumber's
pw_core with the properties pipewire-pulse gives pavucontrol's peak
streams (stream.monitor, target.object, stream.capture.sink for sinks);
its process callback folds samples into a peak that a 40 ms GUI timer
reads, maps with the slider's cubic curve and decays smoothly.

- Only the visible tab is metered; output/stream meters are passive.
- stream.monitor nodes (ours and pavucontrol's) are hidden from the tabs.
- moonmix-probe gains `meter <id>`; the smoke test now plays noise and
  checks the stream and sink meters see it.
- Screenshot mode holds the meters still before capturing, since a
  constantly redrawing window never yields a frame under broadway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:33:12 -08:00
nandi 92ae5cdbfe Add moonmix: pavucontrol-style PipeWire mixer in MoonBit (WirePlumber + GTK4) (#1)
CI / check (push) Successful in 9s
CI / native (push) Successful in 1m1s
2026-11-22 23:52:37 +00:00