resources/xfetch
A cross-platform system information fetching tool inspired by fastfetch and neofetch, written in Rust. Focused on speed, security, and full customizability.
Fully customizable layouts
{
"layout": null
}{
"layout": "side-block"
}{
"layout": "section",
"modules": [
{
"type": "group",
"title": "Hardware",
"modules": [
"cpu", "gpu",
"memory"
]
},
{
"type": "group",
"title": "Software",
"modules": [
"os", "shell"
]
}
]
}{
"layout": "tree",
"modules": [
{
"type": "group",
"title": "OS",
"modules": [
"os", "kernel",
"packages"
]
},
{
"type": "group",
"title": "PC",
"modules": [
"cpu", "gpu",
"memory"
]
}
]
}Quick Install
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/xscriptor/xfetch/main/install.sh | bashWindows (PowerShell)
irm https://raw.githubusercontent.com/xscriptor/xfetch/main/install.ps1 | iexConfiguration
xfetch looks for a configuration file at:
- Linux: ~/.config/xfetch/config.jsonc
- Windows: %APPDATA%\xfetch\config.jsonc
- macOS: ~/Library/Application Support/xfetch/config.jsonc
A minimal configuration looks like this:
{
"modules": ["os", "kernel", "memory"],
"show_colors": true
}Available modules:
oskernelhostnameuptimepackagesshellterminalwmcpugpumemoryswapdiskbatterypaletteUse a custom config file:
xfetch --config path/to/my_config.jsoncUsage
Simply run xfetch in your terminal:
xfetchUninstall
Quick uninstall
curl -fsSL https://raw.githubusercontent.com/xscriptor/xfetch/main/uninstall.sh | bashManual uninstall
rm ~/.local/bin/xfetch
rm -rf ~/.config/xfetch

