Skip to content

Instantly share code, notes, and snippets.

@miy4
Created December 22, 2022 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miy4/bb10df36fc60d1f7c31720cb3d62dad6 to your computer and use it in GitHub Desktop.
Save miy4/bb10df36fc60d1f7c31720cb3d62dad6 to your computer and use it in GitHub Desktop.
Print a list of distro logos by neofetch
#!/bin/bash
source /usr/bin/neofetch 2>&1 >/dev/null
typeset -f get_distro_ascii | \
grep -E '^\s+".*)$' | \
grep -oP '".*?"' | \
while read -r line; do
printf '%s\n' "$line"
neofetch -L --ascii_distro "${line:1:-1}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment