From 6c1dfe191843ad56aaa0381e5645ad9e74c38b8b Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Fri, 17 Jan 2025 23:01:00 +0200 Subject: Accumulate config engine, build metadata, and doc updates Remaining files from the backlog: Lua config engine additions (general/register/support/window), workspace Cargo.toml/ Cargo.lock churn from the new dependencies added elsewhere in this sweep, srdwm/main.rs wiring, and docs (DEFAULTS.md plus a new SESSION_HANDOFF.md written mid-session for continuity across a restart - see that file's own header for what it is and isn't). --- crates/config/src/engine/support.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/config/src/engine/support.rs') diff --git a/crates/config/src/engine/support.rs b/crates/config/src/engine/support.rs index 9346499..0f83885 100644 --- a/crates/config/src/engine/support.rs +++ b/crates/config/src/engine/support.rs @@ -82,6 +82,7 @@ pub(super) fn validate(s: &SharedState) -> Vec { check_range("layout.floating.gaps.outer", 0.0, 100.0); check_range("general.border_width", 0.0, 20.0); check_range("theme.decorations.border.width", 0.0, 20.0); + check_range("theme.decorations.border.radius", 0.0, 100.0); check_range("general.animation_duration", 0.0, 1000.0); check_range("general.resize_margin", 1.0, 50.0); check_range("performance.max_fps", 30.0, 240.0); @@ -242,6 +243,7 @@ pub(super) fn default_config() -> HashMap { set("theme.colors.success", String("#a3be8c".into())); set("theme.decorations.border.width", Number(2.0)); + set("theme.decorations.border.radius", Number(6.0)); set("theme.decorations.border.active_color", String("#88c0d0".into())); set("theme.decorations.border.inactive_color", String("#2e3440".into())); set("theme.decorations.border.focused_style", String("solid".into())); -- cgit v1.2.3