Created
December 22, 2022 00:57
-
-
Save miy4/bb10df36fc60d1f7c31720cb3d62dad6 to your computer and use it in GitHub Desktop.
Print a list of distro logos by neofetch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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