A fast and minimal system information fetcher written in Zig and built with CachyOS in mind.
- CachyOS ASCII logo with compact colored output
- User/host, OS, kernel, uptime, and package count
- Shell and terminal detection
- DE/WM detection for KDE Plasma, GNOME, Hyprland, Sway, and niri
- WM theme, GTK/KDE theme, icons, font, and cursor detection
- CPU, GPU, monitor, memory, swap, disk, locale, and local IP info
- Progress bars for memory, swap, and disk usage
- 16-color palette preview
zig build -Doptimize=ReleaseFastzig build runOr run the built binary directly:
./zig-out/bin/cachyfetchzig build -Doptimize=ReleaseFast
sudo install -Dm755 zig-out/bin/cachyfetch /usr/local/bin/cachyfetchzig0.15.0 or newer
These tools are optional and are only used when available:
pacmanfor package countinglspcifrompciutilsfor GPU detectionipfromiproute2for local IP detectiongsettingsfromglib2for GTK/GNOME theme, icon, and font detection
cachyfetchis Linux-only and reads data from/proc,/sys, desktop config files, and optional system utilities.- KDE Plasma theme information is read directly from files in
~/.config. - When a command or desktop-specific source is unavailable, the corresponding field falls back to
unknown.
cachyfetch/
├── src/
│ ├── main.zig # output rendering and layout
│ └── core.zig # system information collection
├── build.zig
└── build.zig.zon
MIT
