Configuration
Presets
A whole look under one name, with the art, layout and colours together. Choose from 26, or save your own.
A preset is a whole look: colour theme, animation, info layout and borders.
animfetch presets # pick one, previewed live
animfetch presets sakura # keep one by name
animfetch --preset zen --pin # try one, changing nothing
animfetch --list-presets
animfetch --save-preset evening # keep the look you have nowThe presets#
| Presets | What they are |
|---|---|
classic | The default look, on your terminal's own colours. |
wallpaper | A bonsai following your desktop's colours (theme = "auto"). |
zen sakura lavender paper latte | Bonsai. The last two are light. |
momiji autumn sky golden | Maples in four colours. |
midnight galaxy aurora ocean | Saturn, a black hole, a turning solid, the earth. |
retro lagoon forest balance | A cat, dolphins, a fox, yin and yang. |
ember dragon neon inferno liftoff | Coloured art. |
mono gothic | Grey, the second with silver borders. |
Each sets a colour theme, so the list recolours the terminal as
you move through it and Esc puts your colours back. classic, mono and
gothic set none.
Keeping one#
Keeping a preset writes its settings into config.toml, replacing those of the
same names and leaving the rest of the file as it was. What was there before is
copied to config.toml.before-preset.
The settings are ordinary ones, so you can change any of them afterwards.
animfetch theme default keeps a preset's art and layout and takes its colours
off.
To look at one without keeping it, use --preset <name>: it applies to that run
only. With --save it is kept.
Saving your own#
To keep the look you have, choose + save mine at the head of the list and give
it a name (small letters, digits, - and _), or use --save-preset:
animfetch --save-preset eveningIt joins the list. Saving a name of your own again replaces it, and deleting its file takes it off.
Writing one by hand#
Put a file in ~/.config/animfetch/presets/<name>.toml, using the same keys as
the config:
description = "A quiet evening"
theme = "nord"
animation = "maple"
info_style = "minimal"A preset can set only how things look: theme, animation, style, art,
art_color, info_style, icons, color, gray, color_source, accent,
value, gradient, gradient_scroll, fps, gap, the bonsai_ and
border_ keys, and a description. It cannot add rows or run commands.