From 95d36f8ec7581aeb0fab55c514a40d23379d1950 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Sat, 30 May 2026 21:02:21 +0100 Subject: [PATCH] docs(options): document nomarchy.hyprland.{gaps_in,gaps_out,border_size} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These three home options (Hyprland inner/outer gaps + active-border width, read from state.json, wired in features/desktop/hyprland/default.nix) were the only real options missing from OPTIONS.md — a guardrail violation (every nomarchy.* option must be documented). Found via a full diff of the live option tree against the doc's headings. Co-Authored-By: Claude Opus 4.8 --- docs/OPTIONS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/OPTIONS.md b/docs/OPTIONS.md index 4507431..6005e09 100644 --- a/docs/OPTIONS.md +++ b/docs/OPTIONS.md @@ -177,6 +177,10 @@ Without prime config, supergfxd still switches modes but render-offload via `nvi `enum ["top", "bottom"]`, default `"top"`. Waybar panel position. +### `nomarchy.hyprland.gaps_in` / `nomarchy.hyprland.gaps_out` / `nomarchy.hyprland.border_size` + +`int`, defaults `5` / `10` / `2`. Hyprland window inner gaps, outer gaps, and active-border width (px). Map to Hyprland's `general.{gaps_in,gaps_out,border_size}` in `features/desktop/hyprland/default.nix`. Defaults come from `lib/state-schema.nix` and are read from `~/.config/nomarchy/state.json`, so they can be retuned without a rebuild; set them here to make a choice permanent. + ### `nomarchy.formFactor` `enum [ "laptop" "desktop" ]`, default `"laptop"`. Mirror of `nomarchy.system.formFactor`. Filters laptop-only widgets out of waybar (battery) when set to `"desktop"`. The installer writes both system and home values together.