#acrylic #blur #windowing #vibrancy #mica

window-vibrancy

Make your windows vibrant

7 unstable releases (3 breaking)

Uses new Rust 2021

0.3.0 Sep 19, 2022
0.2.0 Jul 27, 2022
0.1.3 May 23, 2022
0.1.2 Apr 15, 2022
0.0.0 Mar 5, 2022

#222 in GUI

Download history 37/week @ 2022-06-09 63/week @ 2022-06-16 64/week @ 2022-06-23 50/week @ 2022-06-30 159/week @ 2022-07-07 189/week @ 2022-07-14 270/week @ 2022-07-21 213/week @ 2022-07-28 201/week @ 2022-08-04 195/week @ 2022-08-11 211/week @ 2022-08-18 282/week @ 2022-08-25 214/week @ 2022-09-01 153/week @ 2022-09-08 207/week @ 2022-09-15 282/week @ 2022-09-22

876 downloads per month

Apache-2.0 OR MIT

1.5MB
541 lines

window-vibrancy

Chat Server

Make your windows vibrant.

Platform-specific

  • Linux: Unsupported, Blur and any vibrancy effects are controlled by the compositor installed on the end-user system.

Example

use window_vibrancy::{apply_blur, apply_vibrancy, NSVisualEffectMaterial};

#[cfg(target_os = "macos")]
apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, None, None).expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");

#[cfg(target_os = "windows")]
apply_blur(&window, Some((18, 18, 18, 125))).expect("Unsupported platform! 'apply_blur' 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 apply_blur screenshot apply_mica screenshot apply_vibrancy screenshot

Dependencies

~0–7MB
~117K SLoC