diff --git a/README.md b/README.md index 7fb4c34e..a4e90458 100644 --- a/README.md +++ b/README.md @@ -241,8 +241,10 @@ alias fetch2="fetch \ Ascii: - --ascii path/to/ascii File to get ascii from + --ascii Where to get the ascii from, Possible values: + 'distro', '/path/to/ascii' --ascii_color Color to print the ascii art + --ascii_distro distro Which Distro's ascii art to print Screenshot: diff --git a/ascii/distro/antergos b/ascii/distro/antergos new file mode 100644 index 00000000..f4180232 --- /dev/null +++ b/ascii/distro/antergos @@ -0,0 +1,21 @@ +"\ +${c1} \`.-/::/-\`\` +${c1} .-/osssssssso/. +${c1} :osyysssssssyyys+- +${c1} \`.+yyyysssssssssyyyyy+. +${c1} \`/syyyyyssssssssssyyyyys-\` +${c1} \`/yhyyyyysss${c2}++${c1}ssosyyyyhhy/\` +${c1} .ohhhyyyys${c2}o++/+o${c1}so${c2}+${c1}syy${c2}+${c1}shhhho. +${c1} .shhhhys${c2}oo++//+${c1}sss${c2}+++${c1}yyy${c2}+s${c1}hhhhs. +${c1} -yhhhhs${c2}+++++++o${c1}ssso${c2}+++${c1}yyy${c2}s+o${c1}hhddy: +${c1} -yddhhy${c2}o+++++o${c1}syyss${c2}++++${c1}yyy${c2}yooy${c1}hdddy- +${c1} .yddddhs${c2}o++o${c1}syyyyys${c2}+++++${c1}yyhh${c2}sos${c1}hddddy\` +${c1}\`odddddhyosyhyyyyyy${c2}++++++${c1}yhhhyosddddddo +${c1}.dmdddddhhhhhhhyyyo${c2}+++++${c1}shhhhhohddddmmh. +${c1}ddmmdddddhhhhhhhso${c2}++++++${c1}yhhhhhhdddddmmdy +${c1}dmmmdddddddhhhyso${c2}++++++${c1}shhhhhddddddmmmmh +${c1}-dmmmdddddddhhys${c2}o++++o${c1}shhhhdddddddmmmmd- +${c1} .smmmmddddddddhhhhhhhhhdddddddddmmmms. +${c1} \`+ydmmmdddddddddddddddddddmmmmdy/. +${c1} \`.:+ooyyddddddddddddyyso+:.\` +" diff --git a/ascii/distro/arch b/ascii/distro/arch new file mode 100644 index 00000000..194a2371 --- /dev/null +++ b/ascii/distro/arch @@ -0,0 +1,22 @@ +"\ +${c1} -\` +${c1} .o+\` +${c1} \`ooo/ +${c1} \`+oooo: +${c1} \`+oooooo: +${c1} -+oooooo+: +${c1} \`/:-:++oooo+: +${c1} \`/++++/+++++++: +${c1} \`/++++++++++++++: +${c1} \`/+++o${c2}oooooooo${c1}oooo/\` +${c2} ${c1}./${c2}ooosssso++osssssso${c1}+\` +${c2} .oossssso-\`\`\`\`/ossssss+\` +${c2} -osssssso. :ssssssso. +${c2} :osssssss/ osssso+++. +${c2} /ossssssss/ +ssssooo/- +${c2} \`/ossssso+/:- -:/+osssso+- +${c2} \`+sso+:-\` \`.-/+oso: +${c2} \`++:. \`-/+/ +${c2} .\` \`/ +" + diff --git a/ascii/distro/centos b/ascii/distro/centos new file mode 100644 index 00000000..8419e883 --- /dev/null +++ b/ascii/distro/centos @@ -0,0 +1,21 @@ +"\ +${c1} .. +${c1} .PLTJ. +${c1} <><><><> + ${c2}KKSSV' 4KKK ${c1}LJ${c4} KKKL.'VSSKK + ${c2}KKV' 4KKKKK ${c1}LJ${c4} KKKKAL 'VKK + ${c2}V' ' 'VKKKK ${c1}LJ${c4} KKKKV' ' 'V + ${c2}.4MA.' 'VKK ${c1}LJ${c4} KKV' '.4Mb. +${c4} . ${c2}KKKKKA.' 'V ${c1}LJ${c4} V' '.4KKKKK ${c3}. +${c4} .4D ${c2}KKKKKKKA.'' ${c1}LJ${c4} ''.4KKKKKKK ${c3}FA. +${c4} +${c4} 'VD ${c3}KKKKKKKK'.. ${c2}LJ ${c1}..'KKKKKKKK ${c3}FV +${c4} ' ${c3}VKKKKK'. .4 ${c2}LJ ${c1}K. .'KKKKKV ${c3}' + ${c3} 'VK'. .4KK ${c2}LJ ${c1}KKA. .'KV' + ${c3}A. . .4KKKK ${c2}LJ ${c1}KKKKA. . .4 + ${c3}KKA. 'KKKKK ${c2}LJ ${c1}KKKKK' .4KK + ${c3}KKSSA. VKKK ${c2}LJ ${c1}KKKV .4SSKK +${c2} <><><><> +${c2} 'MKKM' +${c2} '' +" diff --git a/ascii/distro/crux b/ascii/distro/crux new file mode 100644 index 00000000..351de4cd --- /dev/null +++ b/ascii/distro/crux @@ -0,0 +1,21 @@ +"\ +${c1} odddd +${c1} oddxkkkxxdoo +${c1} ddcoddxxxdoool +${c1} xdclodod olol +${c1} xoc xdd olol +${c1} xdc ${c2}k00${c1}Okdlol +${c1} xxd${c2}kOKKKOkd${c1}ldd +${c1} xdco${c2}xOkdlo${c1}dldd +${c1} ddc:cl${c2}lll${c1}oooodo +${c1} odxxdd${c3}xkO000kx${c1}ooxdo +${c1} oxdd${c3}x0NMMMMMMWW0od${c1}kkxo +${c1} oooxd${c3}0WMMMMMMMMMW0o${c1}dxkx +${c1} docldkXW${c3}MMMMMMMWWN${c1}Odolco +${c1} xx${c2}dx${c1}kxxOKN${c3}WMMWN${c1}0xdoxo::c +${c2} xOkkO${c1}0oo${c3}odOW${c2}WW${c1}XkdodOxc:l +${c2} dkkkxkkk${c3}OKX${c2}NNNX0Oxx${c1}xc:cd +${c2} odxxdx${c3}xllod${c2}ddooxx${c1}dc:ldo +${c2} lodd${c1}dolccc${c2}ccox${c1}xoloo +" + diff --git a/ascii/distro/debian b/ascii/distro/debian new file mode 100644 index 00000000..f9ebdfa5 --- /dev/null +++ b/ascii/distro/debian @@ -0,0 +1,19 @@ +"\ +${c1} _,met\$\$\$\$\$gg. +${c1} ,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P. +${c1} ,g\$\$P\"\ \"\"\"Y\$\$.\". +${c1} ,\$\$P' \`\$\$\$. +${c1}',\$\$P ,ggs. \`\$\$b: +${c1}\`d\$\$' ,\$P\"\' ${c2}.${c1} \$\$\$ +${c1} \$\$P d\$\' ${c2},${c1} \$\$P +${c1} \$\$: \$\$. ${c2}-${c1} ,d\$\$' +${c1} \$\$\; Y\$b._ _,d\$P' +${c1} Y\$\$. ${c2}\`.${c1}\`\"Y\$\$\$\$P\"' +${c1} \`\$\$b ${c2}\"-.__ +${c1} \`Y\$\$ +${c1} \`Y\$\$. +${c1} \`\$\$b. +${c1} \`Y\$\$b. +${c1} \`\"Y\$b._ +${c1} \`\"\"\"\ +" diff --git a/ascii/distro/deepin b/ascii/distro/deepin new file mode 100644 index 00000000..f3480550 --- /dev/null +++ b/ascii/distro/deepin @@ -0,0 +1,21 @@ +"\ +${c1} eeeeeeeeeeeeeeeeeeeeeeeeeeee +${c1} eee eeeeeee eeeeeeee +${c1}ee eeeeeeeee eeeeeeeee ee +${c1}e eeeeeeeee eeeeeeeee e +${c1}e eeeeeee eeeeeeeeee e +${c1}e eeeeee eeeee e +${c1}e eeeee eee eee e +${c1}e eeeee ee eeeeee e +${c1}e eeeee eee eee e +${c1}e eeeeeeeeee eeee e +${c1}e eeeee eeee e +${c1}e eeeeee e +${c1}e eeeeeee e +${c1}e eee eeeeeeee e +${c1}eeeeeeeeeeeeeeee e +${c1}eeeeeeeeeeeee ee +${c1} eeeeeeeeeee eee +${c1} eeeeeeeeeeeeeeeeeeeeeeeeeeee +" + diff --git a/ascii/distro/elementary b/ascii/distro/elementary new file mode 100644 index 00000000..11570d07 --- /dev/null +++ b/ascii/distro/elementary @@ -0,0 +1,19 @@ +"\ +${c1} eeeeeeeeeeeeeeeee +${c1} eeeeeeeeeeeeeeeeeeeeeee +${c1} eeeee eeeeeeeeeeee eeeee +${c1} eeee eeeee eee eeee +${c1} eeee eeee eee eeee +${c1}eee eee eee eee +${c1}eee eee eee eee +${c1}ee eee eeee eeee +${c1}ee eee eeeee eeeeee +${c1}ee eee eeeee eeeee ee +${c1}eee eeee eeeeee eeeee eee +${c1}eee eeeeeeeeee eeeeee eee +${c1} eeeeeeeeeeeeeeeeeeeeeeee eeeee +${c1} eeeeeeee eeeeeeeeeeee eeee +${c1} eeeee eeeee +${c1} eeeeeee eeeeeee +${c1} eeeeeeeeeeeeeeeee +" diff --git a/ascii/distro/fedora b/ascii/distro/fedora new file mode 100644 index 00000000..b462c075 --- /dev/null +++ b/ascii/distro/fedora @@ -0,0 +1,19 @@ +"\ +${c2} /:-------------:\\ +${c2} :-------------------:: +${c2} :-----------${c1}/shhOHbmp${c2}---:\\ +${c2} /-----------${c1}omMMMNNNMMD ${c2}---: +${c2} :-----------${c1}sMMMMNMNMP${c2}. ---: +${c2} :-----------${c1}:MMMdP${c2}------- ---\\ +${c2} ,------------${c1}:MMMd${c2}-------- ---: +${c2} :------------${c1}:MMMd${c2}------- .---: +${c2} :---- ${c1}oNMMMMMMMMMNho${c2} .----: +${c2} :-- .${c1}+shhhMMMmhhy++${c2} .------/ +${c2} :- -------${c1}:MMMd${c2}--------------: +${c2} :- --------${c1}/MMMd${c2}-------------; +${c2} :- ------${c1}/hMMMy${c2}------------: +${c2} :--${c1} :dMNdhhdNMMNo${c2}------------; +${c2} :---${c1}:sdNMMMMNds:${c2}------------: +${c2} :------${c1}:://:${c2}-------------:: +${c2} :---------------------:// +" diff --git a/ascii/distro/freebsd b/ascii/distro/freebsd new file mode 100644 index 00000000..32e908d1 --- /dev/null +++ b/ascii/distro/freebsd @@ -0,0 +1,17 @@ +"\ + ${c1}\`\`\` ${c2}\` + ${c1}\` \`.....---...${c2}....--.\`\`\` -/ + ${c1}+o .--\` ${c2}/y:\` +. + ${c1} yo\`:. ${c2}:o \`+- + ${c1}y/ ${c2}-/\` -o/ + ${c1}.- ${c2}::/sy+:. + ${c1}/ ${c2}\`-- / + ${c1}\`: ${c2}:\` + ${c1}\`: ${c2}:\` + ${c1}/ ${c2}/ + ${c1}.- ${c2}-. + ${c1}-- ${c2}-. + ${c1}\`:\` ${c2}\`:\` + ${c2}.-- \`--. + ${c2} .---.....----. +" diff --git a/ascii/distro/funtoo b/ascii/distro/funtoo new file mode 100644 index 00000000..64000ee5 --- /dev/null +++ b/ascii/distro/funtoo @@ -0,0 +1,13 @@ +"\ +${c1} _______ ____ +${c1} /MMMMMMM/ /MMMM| _____ _____ +${c1} __/M${c2}.MMM.${c1}M/_____________|M${c2}.M${c1}MM|/MMMMM\/MMMMM\\ +${c1}|MMMM${c2}MM'${c1}MMMMMMMMMMMMMMMMMMM${c2}MM${c1}MMMM${c2}.MMMM..MMMM.${c1}MM\\ +${c1}|MM${c2}MMMMMMM${c1}/m${c2}MMMMMMMMMMMMMMMMMMMMMM${c1}MMMM${c2}MM${c1}MMMM${c2}MM${c1}MM| +${c1}|MMMM${c2}MM${c1}MMM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MM${c1}MMMMM${c2}\MMM${c1}MMM${c2}MM${c1}MMMM${c2}MM${c1}MMMM${c2}MM${c1}MM| +${c1} |MM${c2}MM${c1}MMM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MMM${c1}MMMM${c2}'MMMM''MMMM'${c1}MM/ +${c1} |MM${c2}MM${c1}MMM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MMM${c1}MMM\MMMMM/\MMMMM/ +${c1} |MM${c2}MM${c1}MMM${c2}MM${c1}MMMMMM${c2}MM${c1}MM${c2}MM${c1}MM${c2}MMMMM'${c1}M| +${c1} |MM${c2}MM${c1}MMM${c2}MMMMMMMMMMMMMMMMM MM'${c1}M/ +${c1} |MMMMMMMMMMMMMMMMMMMMMMMMMMMM/ +" diff --git a/ascii/distro/gentoo b/ascii/distro/gentoo new file mode 100644 index 00000000..dd3774a0 --- /dev/null +++ b/ascii/distro/gentoo @@ -0,0 +1,20 @@ +"\ +${c2} -/oyddmdhs+:. +${c2} -o${c1}dNMMMMMMMMNNmhy+${c2}-\` +${c2} -y${c1}NMMMMMMMMMMMNNNmmdhy${c2}+- +${c2} \`o${c1}mMMMMMMMMMMMMNmdmmmmddhhy${c2}/\` +${c2} om${c1}MMMMMMMMMMMN${c2}hhyyyo${c1}hmdddhhhd${c2}o\` +${c2}.y${c1}dMMMMMMMMMMd${c2}hs++so/s${c1}mdddhhhhdm${c2}+\` +${c2} oy${c1}hdmNMMMMMMMN${c2}dyooy${c1}dmddddhhhhyhN${c2}d. +${c2} :o${c1}yhhdNNMMMMMMMNNNmmdddhhhhhyym${c2}Mh +${c2} .:${c1}+sydNMMMMMNNNmmmdddhhhhhhmM${c2}my +${c2} /m${c1}MMMMMMNNNmmmdddhhhhhmMNh${c2}s: +${c2} \`o${c1}NMMMMMMMNNNmmmddddhhdmMNhs${c2}+\` +${c2} \`s${c1}NMMMMMMMMNNNmmmdddddmNMmhs${c2}/. +${c2} /N${c1}MMMMMMMMNNNNmmmdddmNMNdso${c2}:\` +${c2}+M${c1}MMMMMMNNNNNmmmmdmNMNdso${c2}/- +${c2}yM${c1}MNNNNNNNmmmmmNNMmhs+/${c2}-\` +${c2}/h${c1}MMNNNNNNNNMNdhs++/${c2}-\` +${c2}\`/${c1}ohdmmddhys+++/:${c2}.\` +${c2} \`-//////:--. +" diff --git a/ascii/distro/kali b/ascii/distro/kali new file mode 100644 index 00000000..5e15e00e --- /dev/null +++ b/ascii/distro/kali @@ -0,0 +1,23 @@ +"\ +${c1}.............. +${c1} ..,;:ccc,. +${c1} ......''';lxO. +${c1}.....''''..........,:ld; +${c1} .';;;:::;,,.x, +${c1} ..'''. 0Xxoc:,. ... +${c1} .... ,ONkc;,;cokOdc',. +${c1} . OMo ':${c2}dd${c1}o. +${c1} dMc :OO; +${c1} 0M. .:o. +${c1} ;Wd +${c1} ;XO, +${c1} ,d0Odlc;,.. +${c1} ..',;:cdOOd::,. +${c1} .:d;.':;. +${c1} 'd, .' +${c1} ;l .. +${c1} .o +${c1} c +${c1} .' +${c1} . +" diff --git a/ascii/distro/mac b/ascii/distro/mac new file mode 100644 index 00000000..96a1622a --- /dev/null +++ b/ascii/distro/mac @@ -0,0 +1,18 @@ +"\ +${c1} -/+:. +${c1} :++++. +${c1} /+++/. +${c1} .:-::- .+/:-\`\`.::- +${c1} .:/++++++/::::/++++++/:\` +${c2} .:///////////////////////:\` +${c2} ////////////////////////\` +${c3} -+++++++++++++++++++++++\` +${c3} /++++++++++++++++++++++/ +${c4} /sssssssssssssssssssssss. +${c4} :ssssssssssssssssssssssss- +${c5} osssssssssssssssssssssssso/\` +${c5} \`syyyyyyyyyyyyyyyyyyyyyyyy+\` +${c6} \`ossssssssssssssssssssss/ +${c6} :ooooooooooooooooooo+. +${c6} \`:+oo+/:-..-:/+o+/- +" diff --git a/ascii/distro/manjaro b/ascii/distro/manjaro new file mode 100644 index 00000000..634b3a4e --- /dev/null +++ b/ascii/distro/manjaro @@ -0,0 +1,19 @@ +"\ +${c1} ██████████████████ ████████ +${c1} ██████████████████ ████████ +${c1} ██████████████████ ████████ +${c1} ██████████████████ ████████ +${c1} ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +${c1} ████████ ████████ ████████ +" diff --git a/ascii/distro/mint b/ascii/distro/mint new file mode 100644 index 00000000..2e35faa3 --- /dev/null +++ b/ascii/distro/mint @@ -0,0 +1,18 @@ +"\ +${c2} MMMMMMMMMMMMMMMMMMMMMMMMMmds+. +${c2} MMm----::-://////////////oymNMd+\` +${c2} MMd ${c1}/++ ${c2}-sNMd: +${c2} MMNso/\` ${c1}dMM \`.::-. .-::.\` ${c2}.hMN: +${c2} ddddMMh ${c1}dMM :hNMNMNhNMNMNh: ${c2}\`NMm +${c2} NMm ${c1}dMM .NMN/-+MMM+-/NMN\` ${c2}dMM +${c2} NMm ${c1}dMM -MMm \`MMM dMM. ${c2}dMM +${c2} NMm ${c1}dMM -MMm \`MMM dMM. ${c2}dMM +${c2} NMm ${c1}dMM .mmd \`mmm yMM. ${c2}dMM +${c2} NMm ${c1}dMM\` ..\` ... ydm. ${c2}dMM +${c2} hMM- ${c1}+MMd/-------...-:sdds ${c2}dMM +${c2} -NMm- ${c1}:hNMNNNmdddddddddy/\` ${c2}dMM +${c2} -dMNs-${c1}\`\`-::::-------.\`\` ${c2}dMM +${c2} \`/dMNmy+/:-------------:/yMMM +${c2} ./ydNMMMMMMMMMMMMMMMMMMMMM +${c2} \.MMMMMMMMMMMMMMMMMMM +" diff --git a/ascii/distro/netbsd b/ascii/distro/netbsd new file mode 100644 index 00000000..2a8af6be --- /dev/null +++ b/ascii/distro/netbsd @@ -0,0 +1,22 @@ +"\ + ${c1}__,gnnnOCCCCCOObaau,_ + ${c2}_._ ${c1}__,gnnCCCCCCCCOPF\'' + ${c2}(N\\\\\\\\${c1}XCbngg,._____.,gnnndCCCCCCCCCCCCF\___,,,,___ + ${c2}\\\\N\\\\\\\\${c1}XCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCOOOOPYvv. + ${c2}\\\\N\\\\\\\\${c1}XCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCPF\'' + ${c2}\\\\N\\\\\\\\${c1}XCCCCCCCCCCCCCCCCCCCCCCCCCOF\' + ${c2}\\\\N\\\\\\\\${c1}XCCCCCCCCCCCCCCCCCCCCOF\' + ${c2}\\\\N\\\\\\\\${c1}XCCCCCCCCCCCCCCCPF\' + ${c2}\\\\N\\\\\\\\${c1}\PCOCCCOCCFP\\ + ${c2}\\\\N\\ + ${c2}\\\\N\\ + ${c2}\\\\N\\ + ${c2}\\\\NN\\ + ${c2}\\\\NN\\ + ${c2}\\\\NNA. + ${c2}\\\\NNA, + ${c2}\\\\NNN, + ${c2}\\\\NNN\\ + ${c2}\\\\NNN\\ + ${c2}\\\\NNNA +" diff --git a/ascii/distro/openbsd b/ascii/distro/openbsd new file mode 100644 index 00000000..9d195226 --- /dev/null +++ b/ascii/distro/openbsd @@ -0,0 +1,25 @@ +"\ + ${c3} _ + ${c3}(_) +${c1} | . +${c1} . |L /| . ${c3} _ +${c1} _ . |\ _| \--+._/| . ${c3}(_) +${c1} / ||\| Y J ) / |/| ./ +${c1} J |)'( | \` F\`.'/ ${c3} _ +${c1} -<| F __ .-< ${c3}(_) +${c1} | / .-'${c3}. ${c1}\`. /${c3}-. ${c1}L___ +${c1} J \\ < ${c3}\ ${c1} | | ${c5}O${c3}\\\\${c1}|.-' ${c3} _ +${c1} _J \\ .- \\\\${c3}/ ${c5}O ${c3}| ${c1}| \\ |${c1}F ${c3}(_) +${c1} '-F -<_. \\ .-' \`-' L__ +${c1}__J _ _. >-' ${c2})${c4}._. ${c1}|-' +${c1} \`-|.' /_. ${c4}\_| ${c1} F +${c1} /.- . _.< +${c1} /' /.' .' \`\\ +${c1} /L /' |/ _.-'-\\ +${c1} /'J ___.---'\| +${c1} |\ .--' V | \`. \` +${c1} |/\`. \`-. \`._) +${c1} / .-.\\ +${c1} \\ ( \`\\ +${c1} \`.\ +" diff --git a/ascii/distro/opensuse b/ascii/distro/opensuse new file mode 100644 index 00000000..9dfa69d3 --- /dev/null +++ b/ascii/distro/opensuse @@ -0,0 +1,20 @@ +"\ +${c2} .;ldkO0000Okdl;. +${c2} .;d00xl:^''''''^:ok00d;. +${c2} .d00l' 'o00d. +${c2} .d0Kd'${c1} Okxol:;,. ${c2}:O0d. +${c2} .OK${c1}KKK0kOKKKKKKKKKKOxo:, ${c2}lKO. +${c2} ,0K${c1}KKKKKKKKKKKKKKK0P^${c2},,,${c1}^dx:${c2} ;00, +${c2} .OK${c1}KKKKKKKKKKKKKKKk'${c2}.oOPPb.${c1}'0k.${c2} cKO. +${c2} :KK${c1}KKKKKKKKKKKKKKK: ${c2}kKx..dd ${c1}lKd${c2} 'OK: +${c2} dKK${c1}KKKKKKKKKOx0KKKd ${c2}^0KKKO' ${c1}kKKc${c2} dKd +${c2} dKK${c1}KKKKKKKKKK;.;oOKx,..${c2}^${c1}..;kKKK0.${c2} dKd +${c2} :KK${c1}KKKKKKKKKK0o;...^cdxxOK0O/^^' ${c2}.0K: +${c2} kKK${c1}KKKKKKKKKKKKK0x;,,......,;od ${c2}lKk +${c2} '0K${c1}KKKKKKKKKKKKKKKKKKKK00KKOo^ ${c2}c00' +${c2} 'kK${c1}KKOxddxkOO00000Okxoc;'' ${c2}.dKk' +${c2} l0Ko. .c00l' +${c2} 'l0Kk:. .;xK0l' +${c2} 'lkK0xl:;,,,,;:ldO0kl' +${c2} '^:ldxkkkkxdl:^' +" diff --git a/ascii/distro/parabola b/ascii/distro/parabola new file mode 100644 index 00000000..16e57d4f --- /dev/null +++ b/ascii/distro/parabola @@ -0,0 +1,19 @@ +"\ +${c1} eeeeeeeee +${c1} eeeeeeeeeeeeeee +${c1} eeeeee${c2}//////////${c1}eeeee +${c1} eeeee${c2}///////////////${c1}eeeee +${c1} eeeee${c2}/// ////${c1}eeee +${c1} eeee${c2}// ///${c1}eeeee +${c1} eee ${c2}///${c1}eeeee +${c1}ee ${c2}//${c1}eeeeee +${c1}e ${c2}/${c1}eeeeeee +${c1} eeeeeee +${c1} eeeeee +${c1} eeeeee +${c1} eeeee +${c1} eeee +${c1} eee +${c1} ee +${c1} e +" diff --git a/ascii/distro/red b/ascii/distro/red new file mode 100644 index 00000000..fd6b72de --- /dev/null +++ b/ascii/distro/red @@ -0,0 +1,18 @@ +"\ +${c2} \`.-..........\` +${c2} \`////////::.\`-/. +${c2} -: ....-////////. +${c2} //:-::///////////\` +${c2} \`--::: \`-://////////////: +${c2} //////- \`\`.-:///////// .\` +${c2} \`://////:-.\` :///////::///:\` +${c2} .-/////////:---/////////////: +${c2} .-://////////////////////. +${c1} yMN+\`.-${c2}::///////////////-\` +${c1} .-\`:NMMNMs\` \`..-------..\` +${c1} MN+/mMMMMMhoooyysshsss +${c1} MMM MMMMMMMMMMMMMMyyddMMM+ +${c1} MMMM MMMMMMMMMMMMMNdyNMMh\` hyhMMM +${c1} MMMMMMMMMMMMMMMMyoNNNMMM+. MMMMMMMM +${c1} MMNMMMNNMMMMMNM+ mhsMNyyyyMNMMMMsMM +" diff --git a/ascii/distro/slackware b/ascii/distro/slackware new file mode 100644 index 00000000..bfcb3868 --- /dev/null +++ b/ascii/distro/slackware @@ -0,0 +1,23 @@ +"\ +${c1} ::::::: +${c1} ::::::::::::::::::: +${c1} ::::::::::::::::::::::::: +${c1} ::::::::${c2}cllcccccllllllll${c1}:::::: +${c1} :::::::::${c2}lc dc${c1}::::::: +${c1} ::::::::${c2}cl clllccllll oc${c1}::::::::: +${c1} :::::::::${c2}o lc${c1}::::::::${c2}co oc${c1}:::::::::: +${c1} ::::::::::${c2}o cccclc${c1}:::::${c2}clcc${c1}:::::::::::: +${c1} :::::::::::${c2}lc cclccclc${c1}::::::::::::: +${c1} ::::::::::::::${c2}lcclcc lc${c1}:::::::::::: +${c1} ::::::::::${c2}cclcc${c1}:::::${c2}lccclc oc${c1}::::::::::: +${c1} ::::::::::${c2}o l${c1}::::::::::${c2}l lc${c1}::::::::::: +${c1} :::::${c2}cll${c1}:${c2}o clcllcccll o${c1}::::::::::: +${c1} :::::${c2}occ${c1}:${c2}o clc${c1}::::::::::: +${c1} ::::${c2}ocl${c1}:${c2}ccslclccclclccclclc${c1}::::::::::::: +${c1} :::${c2}oclcccccccccccccllllllllllllll${c1}::::: +${c1} ::${c2}lcc1lcccccccccccccccccccccccco${c1}:::: +${c1} :::::::::::::::::::::::::::::::: +${c1} :::::::::::::::::::::::::::: +${c1} :::::::::::::::::::::: +${c1} :::::::::::: +" diff --git a/ascii/distro/ubuntu b/ascii/distro/ubuntu new file mode 100644 index 00000000..8603d561 --- /dev/null +++ b/ascii/distro/ubuntu @@ -0,0 +1,20 @@ +"\ +${c2} ./+o+- +${c1} yyyyy- ${c2}-yyyyyy+ +${c1} ${c1}://+//////${c2}-yyyyyyo +${c3} .++ ${c1}.:/++++++/-${c2}.+sss/\` +${c3} .:++o: ${c1}/++++++++/:--:/- +${c3} o:+o+:++.${c1}\`..\`\`\`.-/oo+++++/ +${c3} .:+o:+o/.${c1} \`+sssoo+/ +${c1} .++/+:${c3}+oo+o:\`${c1} /sssooo. +${c1} /+++//+:${c3}\`oo+o${c1} /::--:. +${c1} \+/+o+++${c3}\`o++o${c2} ++////. +${c1} .++.o+${c3}++oo+:\`${c2} /dddhhh. +${c3} .+.o+oo:.${c2} \`oddhhhh+ +${c3} \+.++o+o\`${c2}\`-\`\`\`\`.:ohdhhhhh+ +${c3} \`:o+++ ${c2}\`ohhhhhhhhyo++os: +${c3} .o:${c2}\`.syhhhhhhh/${c3}.oo++o\` +${c2} /osyyyyyyo${c3}++ooo+++/ +${c2} \`\`\`\`\` ${c3}+oo+++o\: +${c3} \`oo++. +" diff --git a/ascii/distro/void b/ascii/distro/void new file mode 100644 index 00000000..85c1fcdd --- /dev/null +++ b/ascii/distro/void @@ -0,0 +1,20 @@ +"\ +${c2} __.;=====;.__ +${c2} _.=+==++=++=+=+===;. +${c2} -=+++=+===+=+=+++++=_ +${c1} . ${c2}-=:\`\` \`--==+=++==. +${c1} _vi, ${c2}\` --+=++++: +${c1} .uvnvi. ${c2}_._ -==+==+. +${c1} .vvnvnI\` ${c2}.;==|==;. :|=||=|. +${c3} +QmQQm${c1}pvvnv; ${c3}_yYsyQQWUUQQQm #QmQ#${c2}:${c3}QQQWUV\$QQmL +${c3} -QQWQW${c1}pvvo${c3}wZ?.wQQQE${c2}==<${c3}QWWQ/QWQW.QQWW${c2}(: ${c3}jQWQE +${c3} -\$QQQQmmU' jQQQ@${c2}+=<${c3}QWQQ)mQQQ.mQQQC${c2}+;${c3}jWQQ@' +${c3} -\$WQ8Y${c1}nI: ${c3}QWQQwgQQWV${c2}\`${c3}mWQQ.jQWQQgyyWW@! +${c1} -1vvnvv. ${c2}\`~+++\` ++|+++ +${c1} +vnvnnv, ${c2}\`-|=== +${c1} +vnvnvns. . ${c2}:=- +${c1} -Invnvvnsi..___..=sv=. ${c2}\` +${c1} +Invnvnvnnnnnnnnvvnn;. +${c1} ~|Invnvnvvnvvvnnv}+\` +${c1} -~\|{*l}*|\\~ +" diff --git a/ascii/distro/windows b/ascii/distro/windows new file mode 100644 index 00000000..b41bb32a --- /dev/null +++ b/ascii/distro/windows @@ -0,0 +1,18 @@ +"\ +${c1} ,.=:!!t3Z3z., +${c1} :tt:::tt333EE3 +${c1} Et:::ztt33EEEL${c2} @Ee., .., +${c1} ;tt:::tt333EE7${c2} ;EEEEEEttttt33# +${c1} :Et:::zt333EEQ.${c2} \$EEEEEttttt33QL +${c1} it::::tt333EEF${c2} @EEEEEEttttt33F +${c1} ;3=*^\`\`\`\"*4EEV${c2} :EEEEEEttttt33@. +${c3} ,.=::::!t=., ${c1}\`${c2} @EEEEEEtttz33QF +${c3} ;::::::::zt33)${c2} \"4EEEtttji3P* +${c3} :t::::::::tt33.${c4}:Z3z..${c2} \`\`${c4} ,..g. +${c3} i::::::::zt33F${c4} AEEEtttt::::ztF +${c3} ;:::::::::t33V${c4} ;EEEttttt::::t3 +${c3} E::::::::zt33L${c4} @EEEtttt::::z3F +${c3}{3=*^\`\`\`\"*4E3)${c4} ;EEEtttt:::::tZ\` +${c3} \`${c4} :EEEEtttt::::z7 +${c4} \"VEzjt:;;z>*\` +" diff --git a/fetch b/fetch index 93eeee2a..ce10c4ca 100755 --- a/fetch +++ b/fetch @@ -272,12 +272,16 @@ xoffset=0 # Default ascii image to use -# --ascii path/to/ascii.txt -ascii="$HOME/hi.txt" +# When this is set to distro it will use your +# distro's logo as the ascii. +# --ascii 'distro', path/to/ascii +ascii="distro" # Ascii color -# --ascii_color -ascii_color="4" +# When this is set to distro it will use your +# ditro's colors to color the ascii. +# --ascii_color distro, number +ascii_color="distro" # }}} @@ -409,6 +413,7 @@ case "$os" in distro="Unknown" ;; esac +ascii_distro="$distro" # }}} @@ -511,7 +516,7 @@ getuptime () { getpackages () { case "$distro" in - "Arch Linux"* | "Parabola GNU/Linux-libre"* | "Manjaro"* | "Antergos"*) + "Arch Linux"* | "Parabola"* | "Manjaro"* | "Antergos"*) packages="$(pacman -Qq --color never | wc -l)" ;; @@ -1215,18 +1220,167 @@ getshuffle () { # Ascii {{{ getascii () { + # Change color of logo based on distro + shopt -s nocasematch + case "$ascii_distro" in + "Arch Linux"* | "Antergos"*) + c1=$(color 6) + c2=$(color 4) + ;; + + "CentOS"*) + c1=$(color 3) + c2=$(color 2) + c3=$(color 4) + c4=$(color 5) + c5=$(color 7) + ;; + + "CRUX") + c1=$(color 4) + c2=$(color 5) + c3=$(color 7) + ;; + + "Debian"* | "FreeBSD"*) + c1=$(color 7) + c2=$(color 1) + ;; + + "elementary"*) + c1=$(color 7) + ;; + + "Fedora"*) + c1=$(color 7) + c2=$(color 4) + ;; + + "Gentoo"* | "Funtoo"*) + c1=$(color 7) + c2=$(color 5) + ;; + + "Kali"*) + c1=$(color 4) + c2=$(color 8) + ;; + + "Manjaro"* | "Deepin"*) + c1=$(color 2) + ;; + + "Mac OS X"*) + c1=$(color 2) + c2=$(color 3) + c3=$(color 1) + c4=$(color 1) + c5=$(color 5) + c6=$(color 4) + ;; + + "Mint"*) + c1=$(color 7) + c2=$(color 2) + ;; + + "NetBSD"*) + c1=$(color 5) + c2=$(color 7) + ;; + + "OpenBSD"*) + c1=$(color 3) + c2=$(color 3) + c3=$(color 6) + c4=$(color 1) + c5=$(color 8) + ;; + + "OpenSuse"*) + c1=$(color 2) + c2=$(color 7) + ;; + + "Parabola"*) + c1=$(color 5) + c2=$(color 7) + ;; + + "Red Hat"*) + c1=$(color 7) + c2=$(color 1) + ;; + + "Slackware"*) + c1=$(color 4) + c2=$(color 7) + ;; + + "Ubuntu"*) + c1=$(color 7) + c2=$(color 1) + c3=$(color 3) + ;; + + "void"*) + c1=$(color 2) + c2=$(color 2) + c3=$(color 8) + ;; + + "Windows"*) + c1=$(color 1) + c2=$(color 2) + c3=$(color 4) + c4=$(color 3) + ;; + esac + + if [ "$ascii" == "distro" ]; then + # Get distro ascii file + ascii=${ascii_distro,,} + ascii_dir="$(dirname "$(readlink -f "$0")")" + ascii="$ascii_dir/ascii/distro/${ascii/ *}" + + if [ "$ascii_color" != "distro" ]; then + c1=$(color $ascii_color) + c2=$(color $ascii_color) + c3=$(color $ascii_color) + c4=$(color $ascii_color) + c5=$(color $ascii_color) + c6=$(color $ascii_color) + fi + + # We only use eval in the distro ascii files. + print="$(eval printf "$(<$ascii)")" + else + case "$ascii_color" in + "distro") ascii_color="$c1" ;; + *) ascii_color="$(color $ascii_color)" ;; + esac + + print="${ascii_color}$(<$ascii)" + fi + + # Strip escape codes backslashes from contents of + # the ascii file. + ascii_strip=$(<$ascii) + ascii_strip=${ascii_strip//\$\{??\}} + ascii_strip=${ascii_strip//\\} + # Get length of longest line - length="$(LC_ALL="en_US.UTF8" wc -L 2>/dev/null < "$ascii")" + length="$(LC_ALL="en_US.UTF8" wc -L 2>/dev/null <<< "$ascii_strip")" # Fallback to using awk on systems without 'wc -L' [ -z "$length" ] && \ - length="$(LC_ALL="en_US.UTF8" awk 'length>max{max=length}END{print max}' "$ascii")" + length="$(LC_ALL="en_US.UTF8" awk 'length>max{max=length}END{print max}' <<< "$ascii_strip")" # Set the text padding padding="\033[$((length + gap))C" # Print the ascii - printf "%s" "$(color $ascii_color)$(<$ascii)" + printf "%b%s" "$print" } @@ -1554,8 +1708,10 @@ usage () { cat << EOF Ascii: - --ascii path/to/ascii File to get ascii from + --ascii Where to get the ascii from, Possible values: + 'distro', '/path/to/ascii' --ascii_color Color to print the ascii art + --ascii_distro distro Which Distro's ascii art to print Screenshot: @@ -1632,6 +1788,7 @@ while [ "$1" ]; do # Ascii --ascii) image="ascii"; ascii="$2" ;; --ascii_color) ascii_color="$2" ;; + --ascii_distro) ascii_distro="$2" ;; # Screenshot --scrot | -s) scrot="on"; \