mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-04-24 03:00:16 -04:00
Added Source Mage GNU/Linux support
This commit is contained in:
@@ -228,7 +228,7 @@ detectColors () {
|
||||
my_hcolor=$(colorNumberToCode "${my_hcolor}")
|
||||
}
|
||||
|
||||
supported_distros="Alpine Linux, Amazon Linux, Antergos, Arch Linux (Old and Current Logos), blackPanther OS, BLAG, BunsenLabs, CentOS, Chakra, Chapeau, Chrome OS, Chromium OS, CrunchBang, CRUX, Debian, Deepin, DesaOS,Devuan, Dragora, elementary OS, Evolve OS, Exherbo, Fedora, Frugalware, Fuduntu, Funtoo, Fux, Gentoo, gNewSense, GuixSD, Jiyuu Linux, Kali Linux, KaOS, KDE neon, Kogaion, Korora, LinuxDeepin, Linux Mint, LMDE, Logos, Mageia, Mandriva/Mandrake, Manjaro, Mer, Netrunner, NixOS, OBRevenge, openSUSE, Oracle Linux, Parabola GNU/Linux-libre, Pardus, Parrot Security, PCLinuxOS, PeppermintOS, Qubes OS, Raspbian, Red Hat Enterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Slackware, Solus, SparkyLinux, SteamOS, SUSE Linux Enterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS."
|
||||
supported_distros="Alpine Linux, Amazon Linux, Antergos, Arch Linux (Old and Current Logos), blackPanther OS, BLAG, BunsenLabs, CentOS, Chakra, Chapeau, Chrome OS, Chromium OS, CrunchBang, CRUX, Debian, Deepin, DesaOS,Devuan, Dragora, elementary OS, Evolve OS, Exherbo, Fedora, Frugalware, Fuduntu, Funtoo, Fux, Gentoo, gNewSense, GuixSD, Jiyuu Linux, Kali Linux, KaOS, KDE neon, Kogaion, Korora, LinuxDeepin, Linux Mint, LMDE, Logos, Mageia, Mandriva/Mandrake, Manjaro, Mer, Netrunner, NixOS, OBRevenge, openSUSE, Oracle Linux, Parabola GNU/Linux-libre, Pardus, Parrot Security, PCLinuxOS, PeppermintOS, Qubes OS, Raspbian, Red Hat Enterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Slackware, Solus, Source Mage GNU/Linux, SparkyLinux, SteamOS, SUSE Linux Enterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS."
|
||||
supported_other="Dragonfly/Free/Open/Net BSD, Haiku, Mac OS X, Windows+Cygwin and Windows+MSYS2."
|
||||
supported_dms="KDE, GNOME, Unity, Xfce, LXDE, Cinnamon, MATE, Deepin, CDE, RazorQt and Trinity."
|
||||
supported_wms="2bwm, 9wm, Awesome, Beryl, Blackbox, Cinnamon, chromeos-wm, Compiz, deepin-wm, dminiwm, dwm, dtwm, E16, E17, echinus, Emerald, FluxBox, FLWM, FVWM, herbstluftwm, howm, IceWM, KWin, Metacity, monsterwm, Musca, Gala, Mutter, Muffin, Notion, OpenBox, PekWM, Ratpoison, Sawfish, ScrotWM, SpectrWM, StumpWM, subtle, sway, TWin, WindowMaker, WMFS, wmii, Xfwm4, XMonad and i3."
|
||||
@@ -651,6 +651,9 @@ detectdistro () {
|
||||
distro="NixOS"
|
||||
distro_more="$(nixos-version)"
|
||||
fi
|
||||
if type -p sorcery >/dev/null 2>&1; then
|
||||
distro="SMGL"
|
||||
fi
|
||||
if (type -p guix && type -p herd) >/dev/null 2>&1; then
|
||||
distro="GuixSD"
|
||||
fi
|
||||
@@ -965,6 +968,7 @@ detectdistro () {
|
||||
sabayon) distro="Sabayon" ;;
|
||||
sailfish|sailfish*os) distro="SailfishOS" ;;
|
||||
slackware) distro="Slackware" ;;
|
||||
smgl) distro="Source Mage GNU/Linux" ;;
|
||||
solus) distro="Solus" ;;
|
||||
sparky|sparky*linux) distro="SparkyLinux" ;;
|
||||
steam|steam*os) distro="SteamOS" ;;
|
||||
@@ -1082,6 +1086,7 @@ detectpkgs () {
|
||||
'Void Linux') pkgs=$(xbps-query -l | wc -l) ;;
|
||||
'Evolve OS') pkgs=$(pisi list-installed | wc -l) ;;
|
||||
'Solus') pkgs=$(eopkg list-installed | wc -l) ;;
|
||||
'Source Mage GNU/Linux') pkgs=$(gaze installed | wc -l) ;;
|
||||
'CRUX') pkgs=$(pkginfo -i | wc -l) ;;
|
||||
'Lunar Linux') pkgs=$(lvu installed | wc -l) ;;
|
||||
'TinyCore') pkgs=$(tce-status -i | wc -l) ;;
|
||||
@@ -5034,6 +5039,35 @@ asciiText () {
|
||||
"${c1} \`'' ''\` %s")
|
||||
;;
|
||||
|
||||
"Source Mage GNU/Linux")
|
||||
if [[ "$no_color" != "1" ]]; then
|
||||
c1=$(getColor 'dark gray')
|
||||
fi
|
||||
if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi
|
||||
startline="0"
|
||||
logowidth="40"
|
||||
fulloutput=(
|
||||
"${c1} -sdNMNds: %s"
|
||||
"${c1} .shmNMMMMMMNNNNh. %s"
|
||||
"${c1} \` \':sNNNNNNNNNNm- %s"
|
||||
"${c1} .NNNNNNmmmmmdo. %s"
|
||||
"${c1} -mNmmmmmmmmmmddd: %s"
|
||||
"${c1} +mmmmmmmddddddddh- %s"
|
||||
"${c1} :mmdddddddddhhhhhy. %s"
|
||||
"${c1} -ddddddhhhhhhhhyyyo %s"
|
||||
"${c1} .hyhhhhhhhyyyyyyyys: %s"
|
||||
"${c1} .\`shyyyyyyyyyssssso %s"
|
||||
"${c1} \`/yyyysssssssoooo. %s"
|
||||
"${c1} .osssssooooo+++/ %s"
|
||||
"${c1} \`:+oooo+++++///. %s"
|
||||
"${c1} \`://++//////::- %s"
|
||||
"${c1} ..-/// .//::::::--. %s"
|
||||
"${c1} \`\`\`\` \`\`\` :::--------\` %s"
|
||||
"${c1} \`------....\` %s"
|
||||
"${c1} \`.........\` %s"
|
||||
"${c1} \`......\` %s")
|
||||
;;
|
||||
|
||||
*)
|
||||
if [ "$(echo "${kernel}" | grep 'Linux' )" ]; then
|
||||
if [[ "$no_color" != "1" ]]; then
|
||||
@@ -5259,7 +5293,7 @@ infoDisplay () {
|
||||
"Alpine Linux"|"Arch Linux - Old"|"blackPanther OS"|"Fedora"|"Korora"|"Chapeau"|"Mandriva"|"Mandrake"|"Chakra"|"ChromeOS"|"Sabayon"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"|"KaOS"|"Logos"|"gNewSense"|"Netrunner"|"NixOS"|"SailfishOS"|"Qubes OS"|"Kogaion"|"PCLinuxOS"|"Obarun"|"Solus"|"SwagArch"|"Parrot Security"|"Zorin OS") labelcolor=$(getColor 'light blue');;
|
||||
"Arch Linux"|"Frugalware"|"Mageia"|"Deepin"|"CRUX") labelcolor=$(getColor 'light cyan');;
|
||||
"Mint"|"LMDE"|"KDE neon"|"openSUSE"|"SUSE Linux Enterprise"|"LinuxDeepin"|"DragonflyBSD"|"Manjaro"|"Manjaro-tree"|"Android"|"Void Linux"|"DesaOS") labelcolor=$(getColor 'light green');;
|
||||
"Ubuntu"|"FreeBSD"|"FreeBSD - Old"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Oracle Linux"|"Peppermint"|"Cygwin"|"Msys"|"Fuduntu"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux"|"Red Star OS"|"SparkyLinux"|"OBRevenge") labelcolor=$(getColor 'light red');;
|
||||
"Ubuntu"|"FreeBSD"|"FreeBSD - Old"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Oracle Linux"|"Peppermint"|"Cygwin"|"Msys"|"Fuduntu"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux"|"Red Star OS"|"SparkyLinux"|"OBRevenge"|"Source Mage GNU/Linux") labelcolor=$(getColor 'light red');;
|
||||
"ROSA") labelcolor=$(getColor 'white');;
|
||||
"CrunchBang"|"Viperr"|"elementary"*) labelcolor=$(getColor 'dark grey');;
|
||||
"Gentoo"|"Parabola GNU/Linux-libre"|"Funtoo"|"Funtoo-text"|"BLAG"|"SteamOS"|"Devuan") labelcolor=$(getColor 'light purple');;
|
||||
|
||||
Reference in New Issue
Block a user