[F] Unescape backslash

This commit is contained in:
Hykilpikonna 2022-12-11 07:03:10 -05:00
parent 485aa44f3f
commit 5d392262c1
No known key found for this signature in database
GPG key ID: 256CD01A41D7FA26
42 changed files with 188 additions and 184 deletions

View file

@ -2,11 +2,11 @@
from ..distro import AsciiArt from ..distro import AsciiArt
alpine_small = AsciiArt(match=r'''"alpine_small"''', color='4 7', ascii=r""" alpine_small = AsciiArt(match=r'''"alpine_small"''', color='4 7', ascii=r"""
${c1} /\\ /\\ ${c1} /\ /\
/${c2}/ ${c1}\\ \\ /${c2}/ ${c1}\ \
/${c2}/ ${c1}\\ \\ /${c2}/ ${c1}\ \
/${c2}// ${c1}\\ \\ /${c2}// ${c1}\ \
${c2}// ${c1}\\ \\ ${c2}// ${c1}\ \
\\ \
""") """)

View file

@ -5,7 +5,7 @@ android_small = AsciiArt(match=r'''"android_small"*''', color='2 7', ascii=r"""
${c1} ;, ,; ${c1} ;, ,;
';,.-----.,;' ';,.-----.,;'
,' ', ,' ',
/ O O \\ / O O \
| | | |
'-----------------' '-----------------'
""") """)

View file

@ -5,9 +5,9 @@ aoscosretro_small = AsciiArt(match=r'''"aoscosretro_small"''', color='4 7 1 3',
${c2} _____ ${c1}_____${c2} ${c2} _____ ${c1}_____${c2}
-' '-${c1}| |${c2} -' '-${c1}| |${c2}
/ ___ ${c1}| |${c2} / ___ ${c1}| |${c2}
| / _ \\${c1}|_____|${c2} | / _ \${c1}|_____|${c2}
' / /_\\ \\ ' / /_\ \
\\ / _____ \\${c4}___ \ / _____ \${c4}___
${c3}|${c2}/_/ ${c3}| ${c4}| | ${c3}|${c2}/_/ ${c3}| ${c4}| |
${c3}| | ${c4}|___| ${c3}| | ${c4}|___|
${c3}|_____| ${c3}|_____|

View file

@ -2,12 +2,12 @@
from ..distro import AsciiArt from ..distro import AsciiArt
arch_small = AsciiArt(match=r'''"arch_small"''', color='6 7 1', ascii=r""" arch_small = AsciiArt(match=r'''"arch_small"''', color='6 7 1', ascii=r"""
${c1} /\\ ${c1} /\
/ \\ / \
/\\ \\ /\ \
${c2} / \\ ${c2} / \
/ ,, \\ / ,, \
/ | | -\\ / | | -\
/_-'' ''-_\\ /_-'' ''-_\
""") """)

View file

@ -7,19 +7,19 @@ ${c1} oQA#$%UMn
G # G #
6 % 6 %
?#M#%KW3" ?#M#%KW3"
// \\\ // \\
// \\\ // \\
// \\\ // \\
// \\\ // \\
n%@$DK&ML .0O3#@&M_ n%@$DK&ML .0O3#@&M_
P # 8 W P # 8 W
H U G # H U G #
B N O @ B N O @
C&&#%HNAR 'WS3QMHB" C&&#%HNAR 'WS3QMHB"
// \\\ \\\ // \\ \\
// \\\ \\\ // \\ \\
// \\\ \\\ // \\ \\
// \\\ \\\ // \\ \\
uURF$##Bv nKWB$%ABc aM@3R@D@b uURF$##Bv nKWB$%ABc aM@3R@D@b
8 M @ O # % 8 M @ O # %
% & G U @ @ % & G U @ @

View file

@ -5,17 +5,17 @@ bedrock = AsciiArt(match=r'''"Bedrock"*''', color='8 7', ascii=r"""
${c1}-------------------------------------- ${c1}--------------------------------------
-------------------------------------- --------------------------------------
-------------------------------------- --------------------------------------
---${c2}\\\\\\\\\\\\\\\\\\\\\\\\${c1}----------------------- ---${c2}\\\\\\\\\\\\${c1}-----------------------
----${c2}\\\\\\ \\\\\\${c1}---------------------- ----${c2}\\\ \\\${c1}----------------------
-----${c2}\\\\\\ \\\\\\${c1}--------------------- -----${c2}\\\ \\\${c1}---------------------
------${c2}\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\${c1}------ ------${c2}\\\ \\\\\\\\\\\\\\\\\${c1}------
-------${c2}\\\\\\ \\\\\\${c1}----- -------${c2}\\\ \\\${c1}-----
--------${c2}\\\\\\ \\\\\\${c1}---- --------${c2}\\\ \\\${c1}----
---------${c2}\\\\\\ ______ \\\\\\${c1}--- ---------${c2}\\\ ______ \\\${c1}---
----------${c2}\\\\\\ ///${c1}--- ----------${c2}\\\ ///${c1}---
-----------${c2}\\\\\\ ///${c1}---- -----------${c2}\\\ ///${c1}----
------------${c2}\\\\\\ ///${c1}----- ------------${c2}\\\ ///${c1}-----
-------------${c2}\\\\\\////////////////${c1}------ -------------${c2}\\\////////////////${c1}------
-------------------------------------- --------------------------------------
-------------------------------------- --------------------------------------
-------------------------------------- --------------------------------------

View file

@ -3,11 +3,11 @@ from ..distro import AsciiArt
centos_small = AsciiArt(match=r'''"centos_small"*''', color='3 2 4 5 7', ascii=r""" centos_small = AsciiArt(match=r'''"centos_small"*''', color='3 2 4 5 7', ascii=r"""
${c2} ____${c1}^${c4}____ ${c2} ____${c1}^${c4}____
${c2} |\\ ${c1}|${c4} /| ${c2} |\ ${c1}|${c4} /|
${c2} | \\ ${c1}|${c4} / | ${c2} | \ ${c1}|${c4} / |
${c4}<---- ${c3}----> ${c4}<---- ${c3}---->
${c3} | / ${c2}|${c1} \\ | ${c3} | / ${c2}|${c1} \ |
${c3} |/__${c2}|${c1}__\\| ${c3} |/__${c2}|${c1}__\|
${c2} v ${c2} v
""") """)

View file

@ -5,9 +5,9 @@ crux_small = AsciiArt(match=r'''"crux_small" | KISS*''', color='4 5 7 6', ascii=
${c1} ___ ${c1} ___
(${c3}.· ${c1}| (${c3}.· ${c1}|
(${c2}<> ${c1}| (${c2}<> ${c1}|
/ ${c3}__ ${c1}\\ / ${c3}__ ${c1}\
( ${c3}/ \\ ${c1}/| ( ${c3}/ \ ${c1}/|
${c2}_${c1}/\\ ${c3}__)${c1}/${c2}_${c1}) ${c2}_${c1}/\ ${c3}__)${c1}/${c2}_${c1})
${c2}\/${c1}-____${c2}\/ ${c2}\/${c1}-____${c2}\/
""") """)

View file

@ -7,7 +7,7 @@ ${c3} !M$EEEEEEEEEEEP
${c3}&MMMMMM${c2}MMMMMMMMMMMMM9 ${c3}&MMMMMM${c2}MMMMMMMMMMMMM9
${c3}~MMM${c1}MMMM${c2}MMMMMMMMMMMMC ${c3}~MMM${c1}MMMM${c2}MMMMMMMMMMMMC
${c1}" ${c3}M${c1}MMMMMMM${c2}MMMMMMMMMMs ${c1}" ${c3}M${c1}MMMMMMM${c2}MMMMMMMMMMs
${c1}iM${c2}MMM&&${c1}MMMMMMMM${c2}MMMMMMMM\\ ${c1}iM${c2}MMM&&${c1}MMMMMMMM${c2}MMMMMMMM\
${c1}BMMM${c2}MMMMM${c1}MMMMMMM${c2}MMMMMM${c3}" ${c1}BMMM${c2}MMMMM${c1}MMMMMMM${c2}MMMMMM${c3}"
${c1}9MMMMM${c2}MMMMMMM${c1}MMMM${c2}MMMM${c3}MMMf- ${c1}9MMMMM${c2}MMMMMMM${c1}MMMM${c2}MMMM${c3}MMMf-
${c2}sMMMMMMMM${c1}MM${c2}M${c3}MMMMMMMMM3_ ${c2}sMMMMMMMM${c1}MM${c2}M${c3}MMMMMMMMM3_

View file

@ -3,9 +3,9 @@ from ..distro import AsciiArt
debian_small = AsciiArt(match=r'''"debian_small"''', color='1 7 3', ascii=r""" debian_small = AsciiArt(match=r'''"debian_small"''', color='1 7 3', ascii=r"""
${c1} _____ ${c1} _____
/ __ \\ / __ \
| / | | / |
| \\___- | \___-
-_ -_
--_ --_
""") """)

View file

@ -8,16 +8,16 @@ dragonfly_old = AsciiArt(match=r'''"dragonfly_old"*''', color='1 7 3', ascii=r""
"==.__/~|~\__.==" "==.__/~|~\__.=="
"==._( Y )_.==" "==._( Y )_.=="
${c2}.-'~~""~=--...,__${c1}\/|\/${c2}__,...--=~""~~'-. ${c2}.-'~~""~=--...,__${c1}\/|\/${c2}__,...--=~""~~'-.
( ..=${c1}\\=${c1}/${c2}=.. ) ( ..=${c1}\=${c1}/${c2}=.. )
`'-. ,.-"`;${c1}/=\\${c2};"-.,_ .-'` `'-. ,.-"`;${c1}/=\${c2};"-.,_ .-'`
`~"-=-~` .-~` ${c1}|=|${c2} `~-. `~-=-"~` `~"-=-~` .-~` ${c1}|=|${c2} `~-. `~-=-"~`
.-~` /${c1}|=|${c2}\ `~-. .-~` /${c1}|=|${c2}\ `~-.
.~` / ${c1}|=|${c2} \ `~. .~` / ${c1}|=|${c2} \ `~.
.-~` .' ${c1}|=|${c2} `. `~-. .-~` .' ${c1}|=|${c2} `. `~-.
(` _,.-="` ${c1} |=|${c2} `"=-.,_ `) (` _,.-="` ${c1} |=|${c2} `"=-.,_ `)
`~"~"` ${c1} |=|${c2} `"~"~` `~"~"` ${c1} |=|${c2} `"~"~`
${c1} /=\\ ${c1} /=\
\\=/ \=/
^ ^
""") """)

View file

@ -3,10 +3,10 @@ from ..distro import AsciiArt
elementary_small = AsciiArt(match=r'''"elementary_small"*''', color='4 7 1', ascii=r""" elementary_small = AsciiArt(match=r'''"elementary_small"*''', color='4 7 1', ascii=r"""
${c2} _______ ${c2} _______
/ ____ \\ / ____ \
/ | / /\\ / | / /\
|__\\ / / | |__\ / / |
\\ /__/ / \ /__/ /
\\_______/ \_______/
""") """)

View file

@ -2,12 +2,12 @@
from ..distro import AsciiArt from ..distro import AsciiArt
fedora_old = AsciiArt(match=r'''"Fedora_old"* | "RFRemix"*''', color='4 7 1', ascii=r""" fedora_old = AsciiArt(match=r'''"Fedora_old"* | "RFRemix"*''', color='4 7 1', ascii=r"""
${c1} /:-------------:\\ ${c1} /:-------------:\
:-------------------:: :-------------------::
:-----------${c2}/shhOHbmp${c1}---:\\ :-----------${c2}/shhOHbmp${c1}---:\
/-----------${c2}omMMMNNNMMD ${c1}---: /-----------${c2}omMMMNNNMMD ${c1}---:
:-----------${c2}sMMMMNMNMP${c1}. ---: :-----------${c2}sMMMMNMNMP${c1}. ---:
:-----------${c2}:MMMdP${c1}------- ---\\ :-----------${c2}:MMMdP${c1}------- ---\
,------------${c2}:MMMd${c1}-------- ---: ,------------${c2}:MMMd${c1}-------- ---:
:------------${c2}:MMMd${c1}------- .---: :------------${c2}:MMMd${c1}------- .---:
:---- ${c2}oNMMMMMMMMMNho${c1} .----: :---- ${c2}oNMMMMMMMMMNho${c1} .----:

View file

@ -2,8 +2,8 @@
from ..distro import AsciiArt from ..distro import AsciiArt
freebsd_small = AsciiArt(match=r'''"freebsd_small"''', color='1 7 3', ascii=r""" freebsd_small = AsciiArt(match=r'''"freebsd_small"''', color='1 7 3', ascii=r"""
${c1}/\\,-'''''-,/\\ ${c1}/\,-'''''-,/\
\\_) (_/ \_) (_/
| | | |
| | | |
; ; ; ;

View file

@ -3,8 +3,8 @@ from ..distro import AsciiArt
gentoo_small = AsciiArt(match=r'''"gentoo_small"''', color='5 7', ascii=r""" gentoo_small = AsciiArt(match=r'''"gentoo_small"''', color='5 7', ascii=r"""
${c1} _-----_ ${c1} _-----_
( \\ ( \
\ 0 \\ \ 0 \
${c2} \ ) ${c2} \ )
/ _/ / _/
( _- ( _-

View file

@ -8,7 +8,7 @@ ${c1} _-`````-, ,- '- .
:/ : _... ..._ `` : :/ : _... ..._ `` :
:: : /._ .`:'_.._\. || : :: : /._ .`:'_.._\. || :
:: `._ ./ ,` : \ . _.'' . :: `._ ./ ,` : \ . _.'' .
`:. / | -. \-. \\_ / `:. / | -. \-. \_ /
\:._ _/ .' .@) \@) ` `\ ,.' \:._ _/ .' .@) \@) ` `\ ,.'
_/,--' .- .\,-.`--`. _/,--' .- .\,-.`--`.
,'/'' (( \ ` ) ,'/'' (( \ ` )

View file

@ -14,8 +14,8 @@ ee ${c2}`/:oooooooo+: ${c1}ee
ee ${c2}`/+ +++ +: ${c1}ee ee ${c2}`/+ +++ +: ${c1}ee
ee ${c2}+o+\ ${c1}ee ee ${c2}+o+\ ${c1}ee
eee ${c2}+o+\ ${c1}eee eee ${c2}+o+\ ${c1}eee
eee ${c2}// \\ooo/ \\\ ${c1}eee eee ${c2}// \ooo/ \\ ${c1}eee
eee ${c2}//++++oooo++++\\\ ${c1}eee eee ${c2}//++++oooo++++\\ ${c1}eee
eeee ${c2}::::++oooo+::::: ${c1}eeee eeee ${c2}::::++oooo+::::: ${c1}eeee
eeeee ${c3}Grombyang OS ${c1} eeee eeeee ${c3}Grombyang OS ${c1} eeee
eeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeee

View file

@ -3,11 +3,11 @@ from ..distro import AsciiArt
guix_small = AsciiArt(match=r'''"guix_small"*''', color='3 7 6 1 8', ascii=r""" guix_small = AsciiArt(match=r'''"guix_small"*''', color='3 7 6 1 8', ascii=r"""
${c1}|.__ __.| ${c1}|.__ __.|
|__ \\ / __| |__ \ / __|
\\ \\ / / \ \ / /
\\ \\ / / \ \ / /
\\ \\ / / \ \ / /
\\ \\/ / \ \/ /
\\__/ \__/
""") """)

View file

@ -3,9 +3,9 @@ from ..distro import AsciiArt
haiku_small = AsciiArt(match=r'''"haiku_small"*''', color='2 8', ascii=r""" haiku_small = AsciiArt(match=r'''"haiku_small"*''', color='2 8', ascii=r"""
${c1} ,^, ${c1} ,^,
/ \\ / \
*--_ ; ; _--* *--_ ; ; _--*
\\ '" "' / \ '" "' /
'. .' '. .'
.-'" "'-. .-'" "'-.
'-.__. .__.-' '-.__. .__.-'

View file

@ -5,9 +5,9 @@ hyperbola_small = AsciiArt(match=r'''"hyperbola_small"*''', color='8', ascii=r""
${c1} |`__.`/ ${c1} |`__.`/
\____/ \____/
.--. .--.
/ \\ / \
/ ___ \\ / ___ \
/ .` `.\\ / .` `.\
/.` `.\\ /.` `.\
""") """)

View file

@ -3,10 +3,10 @@ from ..distro import AsciiArt
linspire = AsciiArt(match=r'''"Linspire"* | "Freespire"* | "Lindows"*''', color='4 2', ascii=r""" linspire = AsciiArt(match=r'''"Linspire"* | "Freespire"* | "Lindows"*''', color='4 2', ascii=r"""
${c2} __^ ${c2} __^
${c2} __/ \\ ${c2} __/ \
${c2} MMy dMy __/ \\ ${c2} MMy dMy __/ \
${c2} dMMy MMy ${c1}MM${c2} \\ ${c2} dMMy MMy ${c1}MM${c2} \
${c2} MMMy ,, ${c1}dMMMMn ${c2}\\ ${c2} MMMy ,, ${c1}dMMMMn ${c2}\
${c2} dMMy dMM dMMMMMMy ${c1}dMM MM dMMMMMy dMM MM.nMMM dMMMMMM ${c2} dMMy dMM dMMMMMMy ${c1}dMM MM dMMMMMy dMM MM.nMMM dMMMMMM
${c1}MMM ${c2}MMy MMy MMy ${c1}dMM MMy MMy MMy MMy dy dMy ${c1}MMM ${c2}MMy MMy MMy ${c1}dMM MMy MMy MMy MMy dy dMy
${c1}MMM ${c2}dMM dMM MMy ${c1}dMMMMy dMM dMM dMM dMM dMMMMMMM ${c1}MMM ${c2}dMM dMM MMy ${c1}dMMMMy dMM dMM dMM dMM dMMMMMMM

View file

@ -2,12 +2,12 @@
from ..distro import AsciiArt from ..distro import AsciiArt
linuxlite_small = AsciiArt(match=r'''"linuxlite_small"*''', color='3 7', ascii=r""" linuxlite_small = AsciiArt(match=r'''"linuxlite_small"*''', color='3 7', ascii=r"""
${c1} /\\ ${c1} /\
/ \\ / \
/ ${c2}/ ${c1}/ / ${c2}/ ${c1}/
> ${c2}/ ${c1}/ > ${c2}/ ${c1}/
\\ ${c2}\\ ${c1}\\ \ ${c2}\ ${c1}\
\\_${c2}\\${c1}_\\ \_${c2}\${c1}_\
${c2} \\ ${c2} \
""") """)

View file

@ -3,11 +3,11 @@ from ..distro import AsciiArt
linuxmint_small = AsciiArt(match=r'''"linuxmint_small"*''', color='2 7', ascii=r""" linuxmint_small = AsciiArt(match=r'''"linuxmint_small"*''', color='2 7', ascii=r"""
${c1} ___________ ${c1} ___________
|_ \\ |_ \
| ${c2}| _____ ${c1}| | ${c2}| _____ ${c1}|
| ${c2}| | | | ${c1}| | ${c2}| | | | ${c1}|
| ${c2}| | | | ${c1}| | ${c2}| | | | ${c1}|
| ${c2}\\__${c2}___/ ${c1}| | ${c2}\__${c2}___/ ${c1}|
\\_________/ \_________/
""") """)

View file

@ -5,9 +5,9 @@ mageia_small = AsciiArt(match=r'''"mageia_small"*''', color='6 7', ascii=r"""
${c1} * ${c1} *
* *
** **
${c2} /\\__/\\ ${c2} /\__/\
/ \\ / \
\\ / \ /
\\____/ \____/
""") """)

View file

@ -2,12 +2,12 @@
from ..distro import AsciiArt from ..distro import AsciiArt
mx_small = AsciiArt(match=r'''"mx_small"*''', color='4 6 7', ascii=r""" mx_small = AsciiArt(match=r'''"mx_small"*''', color='4 6 7', ascii=r"""
${c3} \\\\ / ${c3} \\ /
\\\\/ \\/
\\\\ \\
/\\/ \\\\ /\/ \\
/ \\ /\\ / \ /\
/ \\/ \\ / \/ \
/__________\\ /__________\
""") """)

View file

@ -2,12 +2,12 @@
from ..distro import AsciiArt from ..distro import AsciiArt
netbsd_small = AsciiArt(match=r'''"netbsd_small"*''', color='5 7', ascii=r""" netbsd_small = AsciiArt(match=r'''"netbsd_small"*''', color='5 7', ascii=r"""
${c2}\\\\${c1}\`-______,----__ ${c2}\\${c1}\`-______,----__
${c2} \\\\ ${c1}__,---\`_ ${c2} \\ ${c1}__,---\`_
${c2} \\\\ ${c1}\`.____ ${c2} \\ ${c1}\`.____
${c2} \\\\${c1}-______,----\`- ${c2} \\${c1}-______,----\`-
${c2} \\\\ ${c2} \\
\\\\ \\
\\\\ \\
""") """)

View file

@ -2,12 +2,12 @@
from ..distro import AsciiArt from ..distro import AsciiArt
nixos_small = AsciiArt(match=r'''"nixos_small"''', color='4 6', ascii=r""" nixos_small = AsciiArt(match=r'''"nixos_small"''', color='4 6', ascii=r"""
${c1} \\\\ \\\\ // ${c1} \\ \\ //
==\\\\__\\\\/ // ==\\__\\/ //
// \\\\// // \\//
==// //== ==// //==
//\\\\___// //\\___//
// /\\\\ \\\\== // /\\ \\==
// \\\\ \\\\ // \\ \\
""") """)

View file

@ -3,17 +3,17 @@ from ..distro import AsciiArt
nomadbsd = AsciiArt(match=r'''"NomadBSD"*''', color='4', ascii=r""" nomadbsd = AsciiArt(match=r'''"NomadBSD"*''', color='4', ascii=r"""
${c1} _======__ ${c1} _======__
(===============\\ (===============\
(===================\\ (===================\
_ _---__ _ _---__
(= ====- (= ====-
(= ====== (= ======
(== ====== (== ======
(== ====== (== ======
(==\\ \\=-_ _=/ /====/ (==\ \=-_ _=/ /====/
(==\\ \\========/ /====/ /====-_ (==\ \========/ /====/ /====-_
(==\\ \\=====/ /==/ /===-- (==\ \=====/ /==/ /===--
/================/ /===- /================/ /===-
\\===========/ \===========/
""") """)

View file

@ -11,19 +11,19 @@ ${c1} / ||\| Y J ) / |/| ./
J |)'( | ` F`.'/ ${c3} _ J |)'( | ` F`.'/ ${c3} _
${c1} -<| F __ .-< ${c3}(_) ${c1} -<| F __ .-< ${c3}(_)
${c1} | / .-'${c3}. ${c1}`. /${c3}-. ${c1}L___ ${c1} | / .-'${c3}. ${c1}`. /${c3}-. ${c1}L___
J \\ < ${c3}\ ${c1} | | ${c5}O${c3}\\${c1}|.-' ${c3} _ J \ < ${c3}\ ${c1} | | ${c5}O${c3}\${c1}|.-' ${c3} _
${c1} _J \\ .- \\${c3}/ ${c5}O ${c3}| ${c1}| \\ |${c1}F ${c3}(_) ${c1} _J \ .- \${c3}/ ${c5}O ${c3}| ${c1}| \ |${c1}F ${c3}(_)
${c1} '-F -<_. \\ .-' `-' L__ ${c1} '-F -<_. \ .-' `-' L__
__J _ _. >-' ${c1})${c4}._. ${c1}|-' __J _ _. >-' ${c1})${c4}._. ${c1}|-'
${c1} `-|.' /_. ${c4}\_| ${c1} F ${c1} `-|.' /_. ${c4}\_| ${c1} F
/.- . _.< /.- . _.<
/' /.' .' `\\ /' /.' .' `\
/L /' |/ _.-'-\\ /L /' |/ _.-'-\
/'J ___.---'\| /'J ___.---'\|
|\ .--' V | `. ` |\ .--' V | `. `
|/`. `-. `._) |/`. `-. `._)
/ .-.\\ / .-.\
\\ ( `\\ \ ( `\
`.\\ `.\
""") """)

View file

@ -3,11 +3,11 @@ from ..distro import AsciiArt
openbsd_small = AsciiArt(match=r'''"openbsd_small"''', color='3 7 6 1 8', ascii=r""" openbsd_small = AsciiArt(match=r'''"openbsd_small"''', color='3 7 6 1 8', ascii=r"""
${c1} _____ ${c1} _____
\\- -/ \- -/
\\_/ \\ \_/ \
| ${c2}O O${c1} | | ${c2}O O${c1} |
|_ < ) 3 ) |_ < ) 3 )
/ \\ / / \ /
/-_____-\\ /-_____-\
""") """)

View file

@ -3,11 +3,11 @@ from ..distro import AsciiArt
opensuse_small = AsciiArt(match=r'''"opensuse_small" | "suse_small"*''', color='2 7', ascii=r""" opensuse_small = AsciiArt(match=r'''"opensuse_small" | "suse_small"*''', color='2 7', ascii=r"""
${c1} _______ ${c1} _______
__| __ \\ __| __ \
/ .\\ \\ / .\ \
\\__/ | \__/ |
_______| _______|
\\_______ \_______
__________/ __________/
""") """)

View file

@ -3,12 +3,12 @@ from ..distro import AsciiArt
popos_small = AsciiArt(match=r'''"popos_small"* | "pop_os_small"*''', color='6 7', ascii=r""" popos_small = AsciiArt(match=r'''"popos_small"* | "pop_os_small"*''', color='6 7', ascii=r"""
${c1}______ ${c1}______
\\ _ \\ __ \ _ \ __
\\ \\ \\ \\ / / \ \ \ \ / /
\\ \\_\\ \\ / / \ \_\ \ / /
\\ ___\\ /_/ \ ___\ /_/
\\ \\ _ \ \ _
__\\_\\__(_)_ __\_\__(_)_
(___________)` (___________)`
""") """)

View file

@ -2,23 +2,23 @@
from ..distro import AsciiArt from ..distro import AsciiArt
postmarketos = AsciiArt(match=r'''"PostMarketOS"*''', color='2 7', ascii=r""" postmarketos = AsciiArt(match=r'''"PostMarketOS"*''', color='2 7', ascii=r"""
${c1} /\\ ${c1} /\
/ \\ / \
/ \\ / \
/ \\ / \
/ \\ / \
/ \\ / \
\\ \\ \ \
/\\ \\____ \\ /\ \____ \
/ \\____ \\ \\ / \____ \ \
/ / \\ \\ / / \ \
/ / \\ ___\\ / / \ ___\
/ / \\ / ____ / / \ / ____
/ / \\/ / \\ / / \/ / \
/ / __________/ \\ / / __________/ \
/ \\ \\ \\ / \ \ \
/ \\ \\ \\ / \ \ \
/ / / \\ / / / \
/___________/ /____________________\\ /___________/ /____________________\
""") """)

View file

@ -2,14 +2,14 @@
from ..distro import AsciiArt from ..distro import AsciiArt
postmarketos_small = AsciiArt(match=r'''"postmarketos_small"''', color='2 7', ascii=r""" postmarketos_small = AsciiArt(match=r'''"postmarketos_small"''', color='2 7', ascii=r"""
${c1} /\\ ${c1} /\
/ \\ / \
/ \\ / \
\\__ \\ \__ \
/\\__ \\ _\\ /\__ \ _\
/ / \\/ __ / / \/ __
/ / ____/ \\ / / ____/ \
/ \\ \\ \\ / \ \ \
/_____/ /________\\ /_____/ /________\
""") """)

View file

@ -11,8 +11,8 @@ ${c1}
,m,_,' "###) ;, ,m,_,' "###) ;,
(###% \#/ ;##mm. (###% \#/ ;##mm.
^#/ __ ___ ; (######) ^#/ __ ___ ; (######)
; //.\\ //.\\ ; \####/ ; //.\ //.\ ; \####/
_; (#\"// \\"/#) ; ,/ _; (#\"// \"/#) ; ,/
@##\ \##/ = `"=" ,;mm/ @##\ \##/ = `"=" ,;mm/
`\##>.____,...,____,<####@ `\##>.____,...,____,<####@
""") """)

View file

@ -4,7 +4,7 @@ from ..distro import AsciiArt
raspbian_small = AsciiArt(match=r'''"Raspbian_small"*''', color='2 1', ascii=r""" raspbian_small = AsciiArt(match=r'''"Raspbian_small"*''', color='2 1', ascii=r"""
${c1} .. ,. ${c1} .. ,.
:oo: .:oo: :oo: .:oo:
'o\\o o/o: 'o\o o/o:
${c2} :: . :: . :: ${c2} :: . :: . ::
:: ::: ::: :: :: ::: ::: ::
:' '',.'' ': :' '',.'' ':

View file

@ -4,8 +4,8 @@ from ..distro import AsciiArt
refracted_devuan = AsciiArt(match=r'''"Refracted Devuan"* | "Refracted_Devuan"*''', color='8 7', ascii=r""" refracted_devuan = AsciiArt(match=r'''"Refracted Devuan"* | "Refracted_Devuan"*''', color='8 7', ascii=r"""
${c2} A ${c2} A
VW VW
VVW\\ VVW\
.yWWW\\ .yWWW\
,;,,u,;yy;;v;uyyyyyyy ,WWWWW^ ,;,,u,;yy;;v;uyyyyyyy ,WWWWW^
*WWWWWWWWWWWWWWWW/ $VWWWWw , *WWWWWWWWWWWWWWWW/ $VWWWWw ,
^*%WWWWWWVWWX $WWWW** ,yy ^*%WWWWWWVWWX $WWWW** ,yy

View file

@ -5,7 +5,7 @@ slackware_small = AsciiArt(match=r'''"slackware_small"*''', color='4 7 1', ascii
${c1} ________ ${c1} ________
/ ______| / ______|
| |______ | |______
\\______ \\ \______ \
______| | ______| |
| |________/ | |________/
|____________ |____________

View file

@ -4,9 +4,9 @@ from ..distro import AsciiArt
sulin = AsciiArt(match=r'''"Sulin"*''', color='4 7 1', ascii=r""" sulin = AsciiArt(match=r'''"Sulin"*''', color='4 7 1', ascii=r"""
${c2} ${c2}
/\ /\ /\ /\
( \\\\ // ) ( \\ // )
\ \\\\ // / \ \\ // /
\_\\\\||||//_/ \_\\||||//_/
\/ _ _ \ \/ _ _ \
\/|(O)(O)| \/|(O)(O)|
\/ | | \/ | |
@ -22,6 +22,6 @@ ${c2}
| | | | | || | | | | | ||
| | | | | || | | | | | ||
|_| |_| |_|| |_| |_| |_||
\_\ \_\ \_\\ \_\ \_\ \_\
""") """)

View file

@ -3,11 +3,11 @@ from ..distro import AsciiArt
void_small = AsciiArt(match=r'''"void_small"''', color='2 8', ascii=r""" void_small = AsciiArt(match=r'''"void_small"''', color='2 8', ascii=r"""
${c1} _______ ${c1} _______
_ \\______ - _ \______ -
| \\ ___ \\ | | \ ___ \ |
| | / \ | | | | / \ | |
| | \___/ | | | | \___/ | |
| \\______ \\_| | \______ \_|
-_______\\ -_______\
""") """)

View file

@ -18,7 +18,7 @@ llllllllllllll lllllllllllllllllll
llllllllllllll lllllllllllllllllll llllllllllllll lllllllllllllllllll
llllllllllllll lllllllllllllllllll llllllllllllll lllllllllllllllllll
`'ccllllllllll lllllllllllllllllll `'ccllllllllll lllllllllllllllllll
`' \\*:: :ccllllllllllllllll `' \*:: :ccllllllllllllllll
````''*::cll ````''*::cll
`` ``
""") """)

View file

@ -135,10 +135,14 @@ def export_distro(d: AsciiArt) -> str:
""" """
Export distro to a python script Export distro to a python script
""" """
# Escape variable name
varname = d.name.lower() varname = d.name.lower()
for s in string.punctuation + ' ': for s in string.punctuation + ' ':
varname = varname.replace(s, '_') varname = varname.replace(s, '_')
ascii = d.ascii.replace('"""', '\\"""')
# Escape/unescape ascii
ascii = d.ascii.replace('"""', '\\"""').replace("\\\\", "\\")
script = f""" script = f"""
from ..distro import AsciiArt from ..distro import AsciiArt