fastfetch 是一款类似 [[neofetch]] 的工具,同样用于获取信息并用漂亮的格式展示。
安装
在 [[macOS]] 通过 [[Homebrew]] 安装:
brew install fastfetch使用
默认配置运行:
fastfetch参数
- --logo- none不显示 logo
- 'windows’: 指定 LOGO
 
- -c all: 显示所有信息
配置
配置文件默认不存在,需要手动创建:
fastfetch --gen-config可以在 ~/.config/fastfetch/config.jsonc 找到,初始的配置是这样的:
{  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",  "modules": [    "title",    "separator",    "os",    "host",    "kernel",    "uptime",    "packages",    "shell",    "display",    "de",    "wm",    "wmtheme",    "theme",    "icons",    "font",    "cursor",    "terminal",    "terminalfont",    "cpu",    "gpu",    "memory",    "swap",    "disk",    "localip",    "battery",    "poweradapter",    "locale",    "break",    "colors"  ]}配置修改后即生效,使用时无须指定。可以参考官方的示例,个人比较喜欢其中的 9 和 12。