diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-18 12:26:10 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-18 12:26:10 +0200 |
| commit | 1f6bd402b5d2ffef845129a327cae95113b23e55 (patch) | |
| tree | b522d59b159b82de33eb8014dda815c2f5b62fa7 /desktop/modules/git/GitPage.qml | |
| parent | a880134140f7ab8195c6651c2f64f614855c8dce (diff) | |
| download | quickshell-1f6bd402b5d2ffef845129a327cae95113b23e55.tar.gz quickshell-1f6bd402b5d2ffef845129a327cae95113b23e55.zip | |
window-switcher: animate, respace and label the expose, add arrow keys
Closing a window from the expose now glides the rest into their new
rects instead of jumping. The Repeater's plain array model rebuilt every
card on any change, leaving nothing to animate; ScriptModel diffs by
identity, so only the closed card goes. The Behaviors stay off until the
fade-in settles, or every card would fly in from the corner on open.
The scatter keeps its centre weighting but spaces windows further apart
(GAP 60 -> 200 real px) and may fill 95% of the screen rather than 92%.
Measured with node at 7 windows: about 45px on screen between cards.
The bottom 28px are reserved so the lowest card's name stays on screen.
Each card shows the app's desktop-entry name below its preview, falling
back to the app id, and the app icon moved to a larger overlay in the
preview's bottom-left corner; the hover title starts right of it.
Arrow keys select a card and Enter focuses it. The scatter has no grid,
so Expose.step picks the nearest centre on the arrow's side with
sideways drift counted double, and the first press picks the top-left
card; test_expose.js covers it. The selection is held as the window,
not an index, so a close that shifts the list does not move it, and
hovering selects too, so pointer and keys never show two highlights.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/git/GitPage.qml')
0 files changed, 0 insertions, 0 deletions
