Next: (heks-linux gif), Previous: (heks-linux dconf), Up: API
Renders ~/.config/fastfetch/config.jsonc, the system summary
printed by fastfetch when a shell starts.
The module owns two things: the ordered list of modules to display and
the logo. Both are plain data, so fastfetch-conf is a pure
renderer that can be called from a REPL and serialized with
scm->json-string without touching the disk.
A commented-out image logo sits next to the active small-text logo. It works in terminals that implement the Kitty graphics protocol; enable it by moving the comment and pointing it at a PNG.
Default value:
"/root/.config/fastfetch"
Default value:
"config.jsonc"
Return the FastFetch configuration as a Scheme association list.
Serializing the result with scm->json-string produces a valid
config.jsonc. clone-dir is accepted for symmetry with the
other modules and is only used by the commented-out image logo.
(scm->json-string (fastfetch-conf) #:pretty #t)
Write the FastFetch configuration to fastfetch-config-dir.
Local overrides are read from
$XDG_CONFIG_HOME/heks-linux/fastfetch-settings.scm before
rendering.