6 Commits

Author SHA1 Message Date
Craig Derington 1f3ae81181 fix: prevent quickshell widget stealing focus (#296) 2026-08-11 20:41:54 +02:00
Bjarne Øverli c110b228cd Perf 2026-07-10 21:46:50 +02:00
Bjarne Øverli 84ef9f1a30 contrib/quickshell: enlarge card to 300x72 and align visualizer width
Bumps the card slightly (260x62 -> 300x72) with proportional font and
button-size increases so the layout breathes a bit more without losing
its dense Winamp feel. Visualizer height grows to 22px for more LED
rows; transport buttons grow to 16/20px so the play icon stays
emphasized.

Also fixes a long-standing alignment quirk in Visualizer: the bar block
was integer-sized and centered, leaving a small gutter on each side
that didn't match the edge-to-edge seek line. Now bar widths stay
integer (crisp pixels) and the leftover space is absorbed into the
inter-bar gaps, so the bars span exactly the parent width and align
with the seek line below.
2026-05-15 15:09:35 +02:00
Bjarne Øverli e6c5cc90cf contrib/quickshell: refresh README for compact redesign
Lead description now reflects the 260x62 two-row layout instead of the
old "notification-sized" copy. Color-mapping table rewritten so each
Omarchy slot points at its actual role in the redesigned widget --
accent paints the progress fill and play/pause icon (not the visualizer
bars anymore); color2 drives the visualizer's bottom LED rows for the
green-yellow-red gradient that mirrors the cliamp TUI. Also corrected a
stale "anchored to the top edge" line that predated the redesign.
2026-05-15 10:41:45 +02:00
Bjarne Øverli 2fce6d8441 contrib/quickshell: compact card redesign
Shrinks the now-playing card from 320x140 to 260x62 with a denser
two-row layout (title+time on top, artist+transport below, visualizer,
then a thin seek line). Keeps sharp 1px borders and absolute anchors so
the layout stays tight.

Also fixes drawPlay in MediaIcon: it was passing 0.92 as the triangle's
pixel height instead of scaling its width, so the play icon rendered
~1px tall whenever playback was paused. And swaps the visualizer's
bottom-band color from accent (blue) to color2 (green) to mirror the
CLI's classic Winamp green/yellow/red gradient.
2026-05-15 09:47:21 +02:00
Bjarne Øverli 568a734862 contrib/quickshell: add now-playing widget for Omarchy
A notification-sized Quickshell card centered along the bottom of
each screen, driven by cliamp's MPRIS service for transport and
position and by cliamp visstream for the live spectrum.

Renders a Winamp 2-style segmented spectrum analyzer with falling
peak caps and pristine Canvas2D transport icons. Theme is read
directly from the active Omarchy theme via FileView watching
~/.config/omarchy/current/theme/colors.toml so theme swaps apply
live. Sharp 90-degree corners throughout. Press Esc or Q to exit
the widget (click first to grant keyboard focus).
2026-05-14 19:13:13 +02:00