diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 09:25:32 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 09:25:32 -0500 |
| commit | 56da3d940b26a51102bce39b3b82dfbbc2b391fd (patch) | |
| tree | 54ce4e57ef954835ccc0fb7ebdb51a5c7c68f59b /docs | |
| parent | a522e5537ab9c94a45656b28e94a73b98f47d4b8 (diff) | |
| download | dotemacs-56da3d940b26a51102bce39b3b82dfbbc2b391fd.tar.gz dotemacs-56da3d940b26a51102bce39b3b82dfbbc2b391fd.zip | |
feat(auto-dim): dim non-selected windows via auto-dim-other-buffers
I added auto-dim-config, a module that loads my local auto-dim-other-buffers fork and dims windows that don't have focus so the selected window stands out. A non-selected window drops to a pure-black background with faded gray text. The dimmed faces live in the dupre theme (themes/dupre-faces.el) so they track theme switches, and the module remaps default, the font-lock faces, and org-block onto them so syntax-highlighted code fades too rather than staying lit. Fringe is left out because dimming it forces a full-frame refresh that flickers on this non-pgtk build.
dim-on-focus-out is nil, so tabbing to a browser or terminal on Hyprland doesn't dim the whole frame. vterm and agent windows don't dim either, because the terminal paints its own per-cell colors past the face remap. I'm keeping that, since the agent's output stays readable while I work in code on the other side.
The module loads after the theme, carries a load-graph header, joins the header-contract allowlist, and the inventory moves to 103 of 103 classified.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design/module-inventory.org | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/design/module-inventory.org b/docs/design/module-inventory.org index a6a065da..ffef323a 100644 --- a/docs/design/module-inventory.org +++ b/docs/design/module-inventory.org @@ -10,7 +10,7 @@ each module is inspected and classified. A module moves from [[*Pending classification][Pending classification]] into [[*Classified modules][Classified modules]] once its source has been read and its load-graph header written. -Phase 1 exit criterion: every module required by =init.el= (102 total) is +Phase 1 exit criterion: every module required by =init.el= (103 total) is represented here with a category and target load shape, every eager survivor has a documented reason, and top-level timer/process/network side effects are identified. Classification proceeds in batches; the header-validation test @@ -26,13 +26,13 @@ This inventory is independent from the helper inventory owned by - Batch 1 (Foundation, Layer 1): classified. 7 modules. - Batch 2 (Text/editing command modules, Layer 2): classified. 9 modules. - Batch 3 (Core libraries and command modules): classified. 7 modules. -- Batch 4 (UI / core-UX modules, Layer 2): classified. 10 modules. +- Batch 4 (UI / core-UX modules, Layer 2): classified. 11 modules. - Batch 5 (Dev entry-points, diff, help, lint, VC, Layer 2): classified. 9 modules. - Batch 6 (Programming modules, Layer 2-4): classified. 10 modules. - Batch 7 (Org modules, Layer 3-4): classified. 13 modules. - Batch 8 (Domain / integration / optional modules, Layer 2-4): classified. 18 modules. - Batch 9 (Remaining domain / integration / optional modules, Layer 2-4): classified. 19 modules. -- 102 of 102 modules classified. Phase 1 classification complete. +- 103 of 103 modules classified. Phase 1 classification complete. - No load-order changes have been made; =init.el= keeps its current eager order. * Legend @@ -112,6 +112,7 @@ eager reason and stay eager. | Module | Layer | Cat | Current | Target | Runtime requires | Top-level side effects | Direct load | |--------+-------+-----+---------+--------+------------------+------------------------+-------------| +| =auto-dim-config= | 2 | C/O | eager | eager | none (loads ~/code auto-dim fork) | enables global minor mode, edits affected-faces | conditional | | =ui-config= | 2 | C/S | eager | eager | user-constants | UI defaults, post-command hook, display-buffer-alist | yes | | =ui-theme= | 2 | C | eager | eager | none | theme load path, theme key | yes | | =ui-navigation= | 2 | C/P | eager | eager | none | nav keymap, 5 global keys, package config | yes | @@ -285,4 +286,4 @@ found and fixed; the =Phase 2 fix:= notes below describe the change applied. * Pending classification -- None. Every module required by =init.el= is classified (102 of 102). +- None. Every module required by =init.el= is classified (103 of 103). |
