Getting started
Quick start
Run animfetch, choose an animation and a layout, and start it with your shell.
Run it#
animfetch --pinThe fetch appears at the top of the terminal and keeps animating while your
shell runs below. Open a new terminal to see the default animation; undo with
animfetch --unpin.
Choose an animation#
animfetch --list # what is available (* marks the current one)
animfetch -a fox-run # this run only
animfetch --set fox-run # make it the default--set writes animation = "fox-run" to your config.toml, creating it if
needed. Preview every animation.
Choose a layout#
The information beside the art has eight styles:
animfetch --pin --info boxedTry them all with --once, which prints a frame and exits:
for s in classic boxed tree sections chips iconic card minimal; do
animfetch --once --info $s
doneSee Info styles for what each looks like. Add --save to
any run to keep the settings you gave it:
animfetch --pin --info card --style quad --saveStart it with your shell#
Put this in ~/.bashrc or ~/.zshrc:
[[ $- == *i* ]] && command -v animfetch >/dev/null && animfetch --pinand for fish, in ~/.config/fish/config.fish:
status is-interactive; and type -q animfetch; and animfetch --pinThe guards keep it out of scripts and scp, which break on unexpected output.
Never put bare
animfetchin a startup file. The default mode owns the prompt and waits for input, which is not what a new shell should do. Use--pin,--playor--once.
Configure it#
Everything above can live in ~/.config/animfetch/config.toml. Every key is
optional:
animation = "fox-run"
info_style = "boxed"
style = "quad"
live = trueCopy the fully commented
config.example.toml
as a starting point, or read the configuration reference.