Skip to content
Snehit Sah edited this page May 2, 2024 · 1 revision

Welcome to the crabfetch wiki!

Config

Config file is in TOML format and located at ~/.config/crabfetch/default-config.toml. It is automatically created at first run and populated with default configuration.

  • modules sections lists all the system properties that are show in order
  • custom_parameters can be used to alter the values shown beside each property
    • if set empty, the actual value is fetched from the system
    • this is empty in default configuration
  • custom_labels can be used to alter the label shown for each property

Default Config

modules = [
    "OS",
    "Kernel",
    "Host",
    "CPU",
    "Cores",
    "Usage",
    "Temp",
    "Mem",
    "Swap",
]

[custom_parameters]

[custom_labels]
os = "OS"
kernel = "Kernel"
host = "Host"
cpu = "CPU"
cores = "Cores"
usage = "Usage"
temp = "Temp"
mem = "Memory"
swap = "Swap"

Complete Config

This lists all possible options

modules = [
    "OS",
    "Kernel",
    "Host",
    "CPU",
    "Cores",
    "Usage",
    "Temp",
    "Mem",
    "Swap",
]

[custom_parameters]
os = "Arch Linux"
kennel = "Linux 6.16 LTS"
host = "Bakery"
cpu = "AMD"
cores = "128"
usage = "52%"
temp = "44C"
mem = "16166MiB"
swap = "8064MiB"


[custom_labels]
os = "OS"
kernel = "Kernel"
host = "Host"
cpu = "CPU"
cores = "Cores"
usage = "Usage"
temp = "Temp"
mem = "Memory"
swap = "Swap"

Example Config

image

modules = [
    "OS",
    "Host",
    "Temp",
    "CPU",
    "Cores",
    "Kernel",
    "Usage",
    "Mem",
    "Swap",
]

[custom_parameters]
os = "Rocket Distro"
temp = "SUPERT HOT! 🥵"
cpu = "Intel Sliced Bread 10th Gen"

[custom_labels]
os = "Machine"
kernel = "Kernel"
host = "Brewry"
cpu = "Bread"
cores = "Cores"
usage = "Usage"
temp = "Temp"
mem = "Memory"
swap = "Swap"
Clone this wiki locally