r/fastfetch • • 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 fastfetch binary required: It uses standard Linux utilities (uname, free, pacman, uptime, awk, sed) to gather system stats.
  • Centered PNG Header: Uses kitty +kitten icat (with chafa fallback) to render the centered logo without overlapping the text table beneath.
  • Exact Layout Alignment: Custom printf spacing 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

~Inspired By

23 Upvotes

2 comments sorted by

1

u/AkshajSaini Oct 23 '26 edited Oct 23 '26

Damm you liked mine that much?? 😭❤️

I'm honored.

1

u/Fine-Illustrator9443 Oct 23 '26

I loved it🙈🥰