Configuration
Modules
Every row animfetch can show, what it reads, and the default rows of each info style.
A module is one kind of row. modules lists the ones to show, in order:
toml
modules = ["os", "kernel", "uptime", "memory", "cpu", "custom"]Leave modules unset to get the rows that suit your info_style. Set it and
your list wins, whichever style is chosen. A module this machine cannot answer
is skipped, so one config works across machines.
tree,sections,chipsandiconicdraw fixed blocks of rows and ignore the order ofmodules; they pick from it.classic,boxed,cardandminimalfollow it exactly.
Available modules#
| Module | Row | Notes |
|---|---|---|
os | OS | Distribution and architecture, such as Arch Linux x86_64. |
host | Host | The hardware model from firmware (DMI). Skipped where it only holds filler. |
kernel | Kernel | The kernel release. Styles that read fuller values add its name. |
uptime | Uptime | Time since boot. |
packages | Packages | Installed package count, with the manager, such as 1126 (pacman). |
shell | Shell | The name of your shell. Fuller styles add its version. |
shell_path | Shell Path | The full path of $SHELL, where shell is its name. |
wm | WM | Window manager or compositor. Fuller styles add its version and session. |
terminal | Terminal | The terminal emulator. |
font | Font | The desktop's UI font, from GTK's settings.ini. A machine that keeps it only in dconf shows none. |
cpu | CPU | Model, threads and clock. |
temperature | Temperature | The CPU's temperature from its hwmon chip (k10temp, coretemp). Skipped without one. |
gpu | GPU | Graphics card name, with discrete or integrated where it can be told. |
memory | Memory | Used and total. |
swap | Swap | Used and total. |
disk | Disk | The root filesystem. |
disks | Disk | Every local filesystem, one row each. |
display | Display | Resolution and refresh rate of each display with a mode set. Needs /dev/dri. |
battery | Battery | Charge and power state, one row per battery. A desktop shows none. |
os_age | OS Age | Time since the root filesystem was created, which is when the system was installed. |
custom | Marks where your custom rows go. | |
colors | The classic 8-swatch terminal palette strip. |
Default rows by style#
When modules is unset:
| Style | Modules |
|---|---|
classic | os, host, kernel, uptime, packages, shell, wm, terminal, cpu, memory, swap, disk, colors |
boxed | os, kernel, wm, terminal, shell, cpu, gpu, disk, memory, uptime, os_age |
tree | os, shell, terminal, host, cpu, gpu, memory, display |
sections | host, cpu, gpu, memory, disks, os, kernel, packages, shell, wm, os_age, uptime, battery, colors |
chips | os, kernel, uptime, packages, wm, shell, terminal, font, cpu, gpu, memory, disk, colors |
iconic | uptime, display, gpu, memory, swap, cpu, temperature, kernel, wm, shell_path, packages, colors |
card | os, kernel, uptime, shell, wm, os_age, memory, cpu, disks, packages, custom |
minimal | os, kernel, wm, shell, terminal, cpu, gpu, memory, os_age |
Examples#
A short list, in your order:
toml
info_style = "classic"
modules = ["os", "kernel", "shell", "memory"]Every disk and battery in classic:
toml
modules = ["os", "uptime", "cpu", "memory", "disks", "battery"]Changing a row#
To rename a module's row, replace its value, or fill it from a command, see Overrides and custom rows.