GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: change default window border colors
Lars Berger1cdf8b0efaf5
diff --git a/packages/wm/src/user_config.rs b/packages/wm/src/user_config.rsindex 38a530d4..fc1523de 100644--- a/packages/wm/src/user_config.rs+++ b/packages/wm/src/user_config.rs@@ -471,6 +471,7 @@ pub struct WindowEffectConfig {#[serde(rename_all(serialize = "camelCase"))]pub struct BorderEffectConfig {/// Whether to enable the effect.+ #[serde(default = "default_bool::<false>")]pub enabled: bool,/// Color of the window border.@@ -559,8 +560,8 @@ const fn default_bool<const V: bool>() -> bool {/// Helper function for setting a default value for a color field.const fn default_blue() -> Color {Color {- r: 0,- g: 0,+ r: 140,+ g: 190,b: 255,a: 255,}diff --git a/resources/assets/sample-config.yaml b/resources/assets/sample-config.yamlindex b045fb00..b9152ba1 100644--- a/resources/assets/sample-config.yaml+++ b/resources/assets/sample-config.yaml@@ -37,12 +37,13 @@ window_effects:# ** Exclusive to Windows 11 due to API limitations.border:enabled: true- color: '#0000ff'+ color: '#8dbcff'# Visual effects to apply to non-focused windows.other_windows:border:- enabled: false+ enabled: true+ color: '#a1a1a1'window_behavior:# New windows are created in this state whenever possible.