Skip to content

feat(glass): translucent window with compositor blur and an opacity slider - #10

Merged
eJosR-Coding merged 1 commit into
mainfrom
feat/glass
Sep 12, 2026
Merged

eJosR-Coding merged 1 commit into
mainfrom
feat/glass

Conversation

@eJosR-Coding

Copy link
Copy Markdown
Owner

What

Real glass: transparent window + compositor blur behind it (KDE via org_kde_kwin_blur_manager, Plasma 6.7+/Niri via ext_background_effect_v1, Windows acrylic, macOS vibrancy). Opacity slider in Settings → Opciones → Vidrio, live and persisted.

Verified

  • On Plasma 6.6.5 Wayland the process logs glass: blur via org_kde_kwin_blur_manager on first show and on every re-show from the tray.
  • Owner confirmed the look visually.
  • tsc, pnpm test (9), cargo test (6).
  • Windows/macOS paths compile only there; the release workflow covers Windows.

…lider

The window is transparent and the app asks the compositor to blur what's
behind it. Linux: reuse GTK's wl_display/wl_surface and bind either
ext_background_effect_v1 (Plasma 6.7+, Niri) or org_kde_kwin_blur_manager
(Plasma <= 6.6), re-requested on every show since GTK recreates the
surface. Windows/macOS: window-vibrancy acrylic / vibrancy. GNOME falls
back to the tint alone.

Settings gain `glass` (0.3..1); a slider in Options applies it live and
persists on release. Body, header, cards, onboarding and callouts take
their opacity from the CSS variable. Preview: #glass=NN over a fake
desktop gradient.
@eJosR-Coding
eJosR-Coding merged commit 50465a1 into main Sep 12, 2026
3 checks passed
@eJosR-Coding
eJosR-Coding deleted the feat/glass branch September 12, 2026 07:03
eJosR-Coding added a commit that referenced this pull request Sep 13, 2026
…lider (#10)

The window is transparent and the app asks the compositor to blur what's
behind it. Linux: reuse GTK's wl_display/wl_surface and bind either
ext_background_effect_v1 (Plasma 6.7+, Niri) or org_kde_kwin_blur_manager
(Plasma <= 6.6), re-requested on every show since GTK recreates the
surface. Windows/macOS: window-vibrancy acrylic / vibrancy. GNOME falls
back to the tint alone.

Settings gain `glass` (0.3..1); a slider in Options applies it live and
persists on release. Body, header, cards, onboarding and callouts take
their opacity from the CSS variable. Preview: #glass=NN over a fake
desktop gradient.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant