diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 12:55:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 12:55:16 +0200 |
| commit | 700f4be432e2c0f54fd6708b6a085b1fb9dd6108 (patch) | |
| tree | cc58fc6caaf5c779c0b61094f6369a0eae2141d0 /desktop/modules/sound/README.md | |
| parent | 401cacb17fa2a5c756340be90d9a0b2c9c2e4a63 (diff) | |
| download | quickshell-700f4be432e2c0f54fd6708b6a085b1fb9dd6108.tar.gz quickshell-700f4be432e2c0f54fd6708b6a085b1fb9dd6108.zip | |
feat(sound): album art as the OSD background
When the current track has art, the volume OSD now draws it across the
whole panel, blurred (MultiEffect blur 0.5, default blurMax) and masked
to the panel's rounded corners, since clip only cuts to the bounding box.
The thumbnail in the track row stays sharp on top.
A dark scrim (Theme.base at 0.82) sits over the art. The palette is dark
and the text light, so a light cover made the panel unreadable, and more
blur did not fix that; only darkening did. The scrim is a sibling of the
MultiEffect, not a child: nested inside it, it did not paint at all, which
is why raising its alpha first appeared to change nothing.
Without art the panel keeps its translucent, compositor-frosted look.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/sound/README.md')
| -rw-r--r-- | desktop/modules/sound/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/modules/sound/README.md b/desktop/modules/sound/README.md index 72db235..d92d017 100644 --- a/desktop/modules/sound/README.md +++ b/desktop/modules/sound/README.md @@ -40,6 +40,12 @@ art, title, artist, and prev/play/next. With no player the panel is exactly the volume OSD, at its original size. A track change or a play/pause shows the panel too, so the row is not something you only see by touching the volume. +When the track has art, it also fills the whole panel as a blurred background +under a dark scrim (`Theme.base` at 0.82), and the thumbnail stays sharp in +the row. The palette is dark, so the scrim is what keeps text legible on a +light cover; blur alone did not. The art is opaque, so it hides the +compositor's frosting while it shows. Without art the panel is unchanged. + Hovering the panel freezes its fade so the buttons can be clicked; moving away starts the countdown again. Without a hover it behaves exactly as it did before there was anything clickable on it. It still takes no keyboard focus. |
