feat(config): add active window border style opt

This commit adds a new active window border style configuration option
to komorebi.json, allowing users to explicitly opt in to square or
rounded active window borders to match whatever patches they may have
made at the system / dwm.exe level.
This commit is contained in:
LGUG2Z
2024-04-02 19:39:19 -07:00
parent dca32bead5
commit 37aa99a537
3 changed files with 38 additions and 4 deletions
+3
View File
@@ -194,6 +194,9 @@ lazy_static! {
)
};
static ref ACTIVE_WINDOW_BORDER_STYLE: Arc<Mutex<ActiveWindowBorderStyle>> =
Arc::new(Mutex::new(ActiveWindowBorderStyle::System));
static ref BORDER_RECT: Arc<Mutex<Rect>> =
Arc::new(Mutex::new(Rect::default()));