fef59cece847ecd3979a301bf67b24da2180b3b8
Each color lookup spawned a 60-line awk program with a character-by- character quote-state machine for comment stripping, about 22 spawns per run counting the dotted-key retries. One pass now tracks the current [section], normalizes dotted keys to the same path, and emits key/hex pairs into a single associative array the shell reads once. The strict value pattern (a lone, optionally quoted and 0x/#-prefixed six-digit hex, followed by nothing or a comment) makes quote-aware comment stripping unnecessary. Section form still wins over dotted form and first valid occurrence still wins, matching the original search order. Output is byte-identical across fixtures covering both key forms, comments, prefixes, and fallback paths, plus real themes. 197 lines to 151. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Omarchy
Omarchy is a beautiful, modern & opinionated Linux distribution by DHH.
Read more at omarchy.org.
Docs
- omarchy-shell — shell host, plugin manifest, IPC,
shell.json, custom bar modules
License
Omarchy is released under the MIT License.
Languages
Shell
57.3%
QML
31.2%
JavaScript
4.1%
Python
2.9%
Go Template
2.5%
Other
2%