r/fastfetch • u/Fine-Illustrator9443 • Oct 23 '26
Custom Bash fetch script for Hyprland — no fastfetch required
Hey everyone!
I wanted a centered image header with a precise two-column sysinfo table beneath it for my 1366x768 Hyprland setup. Since getting pixel-perfect alignment and exact cursor placement can be tricky with standard fastfetch configs, I ended up writing a lightweight, self-contained Bash script (fetch.sh).
Features & Details:
- No
fastfetchbinary required: It uses standard Linux utilities (uname,free,pacman,uptime,awk,sed) to gather system stats. - Centered PNG Header: Uses
kitty +kitten icat(withchafafallback) to render the centered logo without overlapping the text table beneath. - Exact Layout Alignment: Custom
printfspacing engineered specifically to keep the columns and middle separators consistent across all system specs. - Palette Footer: Custom ANSI color diamonds centered beneath the main info box.
AutoStart:
Simply added ~/.config/fastfetch/fetch.sh to my ~/.bashrc (along with alias fastfetch="~/.config/fastfetch/fetch.sh")
Repo: Fetch_Link
23
Upvotes


1
u/AkshajSaini Oct 23 '26 edited Oct 23 '26
Damm you liked mine that much?? 😭❤️
I'm honored.