Skip to content

Instantly share code, notes, and snippets.

@rindeal
Created May 22, 2015 01:10
Show Gist options
  • Save rindeal/e4cbc9eb2c8424329761 to your computer and use it in GitHub Desktop.
Save rindeal/e4cbc9eb2c8424329761 to your computer and use it in GitHub Desktop.
Runs screenfetch utility for all known distros
#!/bin/bash
DISTROS=()
DISTROS+=('Antergos')
DISTROS+=('Arch Linux')
DISTROS+=('Arch Linux - Old')
DISTROS+=('BLAG')
DISTROS+=('CentOS')
DISTROS+=('Chakra')
DISTROS+=('Chapeau')
DISTROS+=('CrunchBang')
DISTROS+=('Cygwin')
DISTROS+=('Debian')
DISTROS+=('Deepin')
DISTROS+=('DragonFlyBSD')
DISTROS+=('Dragora')
DISTROS+=('evolveos')
DISTROS+=('Fedora')
DISTROS+=('FreeBSD')
DISTROS+=('FreeBSD - Old')
DISTROS+=('Frugalware')
DISTROS+=('Fuduntu')
DISTROS+=('Funtoo')
DISTROS+=('Gentoo')
DISTROS+=('gNewSense')
DISTROS+=('Haiku')
DISTROS+=('Jiyuu Linux')
DISTROS+=('Kali Linux')
DISTROS+=('KaOS')
DISTROS+=('Korora')
DISTROS+=('LinuxDeepin')
DISTROS+=('LMDE')
DISTROS+=('Logos')
DISTROS+=('Lunar')
DISTROS+=('Mac OS X')
DISTROS+=('Mageia')
DISTROS+=('Mandriva')
DISTROS+=('Manjaro')
DISTROS+=('Mint')
DISTROS+=('NetBSD')
DISTROS+=('NixOS')
DISTROS+=('OpenBSD')
DISTROS+=('openSUSE')
DISTROS+=('Parabola')
DISTROS+=('Peppermint')
DISTROS+=('Raspbian')
DISTROS+=('Red Hat Enterprise Linux')
DISTROS+=('Sabayon')
DISTROS+=('Slackware')
DISTROS+=('SolusOS')
DISTROS+=('TinyCore')
DISTROS+=('Trisquel')
DISTROS+=('Ubuntu')
DISTROS+=('Viperr')
DISTROS+=('Void')
# Evolve OS, Fedora, Frugalware, Fuduntu,
# Gentoo, Funtoo, Jiyuu Linux, LinuxDeepin, Kali Linux, KaOS, Korora, Mageia,
# Mandriva, Manjaro, Linux Mint, LMDE, openSUSE, Parabola GNU/Linux-libre,
# Peppermint, Red Hat Enterprise Linux, Sabayon, Scientific Linux, Slackware,
# SolusOS, TinyCore, Trisquel, Ubuntu, Viperr and Void.
for i in $(eval "echo {0..$(( ${#DISTROS[@]} - 1 ))}"); do
distro="${DISTROS[$i]}"
echo "$distro"
screenfetch -A "$distro"
echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment