window-vibrancy

Chat Server

Make your windows vibrant.

Platform-specific

Example

```rs use windowvibrancy::{applyblur, apply_vibrancy, NSVisualEffectMaterial};

[cfg(target_os = "macos")]

applyvibrancy(&window, NSVisualEffectMaterial::HudWindow).expect("Unsupported platform! 'applyvibrancy' is only supported on macOS");

[cfg(target_os = "windows")]

applyblur(&window, Some((18, 18, 18, 125))).expect("Unsupported platform! 'applyblur' is only supported on Windows"); ```

Available functions

| Function | Supported platforms | Notes | | :--- | :---: | :--- | | apply_blur&clear_blur | Windows 7/10/11 | | | apply_acrylic&clear_acrylic | Windows 10/11 | has bad performance when resizing/dragging the window on Windows 10 v1903+ and Windows 11 build 22000. | | apply_mica&clear_mica | Windows 11 | | | apply_vibrancy | macOS 10.10 and newer | |

Screenshots

| apply_blur | apply_acrylic | apply_mica | apply_vibrancy | | :---: | :---: | :---: | :---: | | ![apply_blur screenshot](./screenshots/apply_blur.png) | ![apply_blur screenshot](./screenshots/apply_acrylic.png) | ![apply_mica screenshot](./screenshots/apply_mica.png) | ![apply_vibrancy screenshot](./screenshots/apply_vibrancy.png) |