Skip to content

Add overlay transparency with blur and slider#33

Open
bhupathii wants to merge 1 commit intof:masterfrom
bhupathii:master
Open

Add overlay transparency with blur and slider#33
bhupathii wants to merge 1 commit intof:masterfrom
bhupathii:master

Conversation

@bhupathii
Copy link
Copy Markdown

Introduce an overlay transparency mode that uses a blurred background and adjustable tint opacity.

  • Add NotchBlurView (NSVisualEffectView wrapper) to provide behind-window blur.
  • Update NotchOverlayView and preview to render either a solid black island or a blurred, clipped island with a dark tint driven by opacity.
  • Add NotchSettings properties overlayTransparency and overlayTransparencyOpacity, persisted via UserDefaults (keys: "overlayTransparency", "overlayTransparencyOpacity") and initialized with sensible defaults.
  • Expose a Toggle and an opacity Slider in SettingsView to enable transparency and control amount; update reset defaults to include the new settings.

This enables a see-through notch overlay option where desktop content shows through while keeping text readable via a configurable dark tint.

Introduce an overlay transparency mode that uses a blurred background and adjustable tint opacity.

- Add NotchBlurView (NSVisualEffectView wrapper) to provide behind-window blur.
- Update NotchOverlayView and preview to render either a solid black island or a blurred, clipped island with a dark tint driven by opacity.
- Add NotchSettings properties overlayTransparency and overlayTransparencyOpacity, persisted via UserDefaults (keys: "overlayTransparency", "overlayTransparencyOpacity") and initialized with sensible defaults.
- Expose a Toggle and an opacity Slider in SettingsView to enable transparency and control amount; update reset defaults to include the new settings.

This enables a see-through notch overlay option where desktop content shows through while keeping text readable via a configurable dark tint.
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