diff --git a/komorebi/src/static_config.rs b/komorebi/src/static_config.rs index b584d615..3c93366a 100644 --- a/komorebi/src/static_config.rs +++ b/komorebi/src/static_config.rs @@ -431,14 +431,14 @@ impl StaticConfig { self.active_window_border_width.map_or_else( || { - BORDER_WIDTH.store(20, Ordering::SeqCst); + BORDER_WIDTH.store(8, Ordering::SeqCst); }, |width| { BORDER_WIDTH.store(width, Ordering::SeqCst); }, ); - BORDER_OFFSET.store(self.active_window_border_offset.unwrap_or_default(), Ordering::SeqCst); + BORDER_OFFSET.store(self.active_window_border_offset.unwrap_or(-1), Ordering::SeqCst); if let Some(colours) = &self.active_window_border_colours { BORDER_COLOUR_SINGLE.store(u32::from(colours.single), Ordering::SeqCst); diff --git a/schema.json b/schema.json index 91c73e0b..3884b552 100644 --- a/schema.json +++ b/schema.json @@ -134,12 +134,12 @@ } }, "active_window_border_offset": { - "description": "Offset of the active window border (default: None)", + "description": "Offset of the active window border (default: -1)", "type": "integer", "format": "int32" }, "active_window_border_width": { - "description": "Width of the active window border (default: 20)", + "description": "Width of the active window border (default: 8)", "type": "integer", "format": "int32" },