From 7d1ec7109f5cbd20cf7953db89512cc690a2c3d8 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Wed, 22 Mar 2023 21:43:03 +0000 Subject: [PATCH] Added archcraft_minimal logo --- hyfetch/distros/archcraft_minimal.py | 27 +++++++++++++++++++++++++++ hyfetch/distros/distro_detector.py | 6 +++++- neofetch | 26 +++++++++++++++++++++++++- 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 hyfetch/distros/archcraft_minimal.py diff --git a/hyfetch/distros/archcraft_minimal.py b/hyfetch/distros/archcraft_minimal.py new file mode 100644 index 00000000..675d3c2a --- /dev/null +++ b/hyfetch/distros/archcraft_minimal.py @@ -0,0 +1,27 @@ +# This file is automatically generated. Please do not modify. + +from . import AsciiArt + +archcraft_minimal = AsciiArt(match=r'''"Archcraft"*''', color='6 1 2 3 4 5', ascii=r""" +${c1} ⢰⡆ + ⢠⣿⣿⡄ + ⢀⣾⣿⣿⣿⡀ + ⣼⣿⣿⣿⣿⣷⡀ + ⣼⣿⣿⣿⣿⣿⣿⣷ + ⢼⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣤⣈⠻⢿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣿⣿⣿⣿⣮⣿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣼⣿⣿⣿⣿⣿⡿⣿⣿⡟ ⠸⣿⣿⡿⣿⣿⣿⣿⣿⣷⡀ + ⣼⣿⣿⣿⣿⣿⡏ ⠈⣿⣿⣿⣿⣿⣷⡀ + ⢀⣼⣿⣿⣿⣿⣿⣿⡗ ⢀⣠⣤⣀ ⠸⣿⣿⣿⣿⣿⣿⣷⡀ + ⢀⣾⣿⣿⣿⣿⣿⡏⠁ ⢠⣿⣿⣿⣿⡇ ⢙⣿⣿⣻⠿⣿⣷⡀ + ⢀⣾⣿⣿⣿⣿⣿⣿⣷⣤⡀ ⠻⣿⣿⡿⠃ ⢀⣼⣿⣿⣿⣿⣦⣌⠙ + ⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏ ⢿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀ + ⢠⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁ ⠙⠻⣿⣿⣿⣿⣿⣿⣿⣿⡄ + ⣠⣿⣿⣿⣿⠿⠛⠋⠁ ⠉⠙⠻⢿⣿⣿⣿⣿⣆ +⡰⠟⠛⠉⠁ ⠉⠙⠛⠿⢆ +""") + \ No newline at end of file diff --git a/hyfetch/distros/distro_detector.py b/hyfetch/distros/distro_detector.py index 6f8470b3..fafea17a 100644 --- a/hyfetch/distros/distro_detector.py +++ b/hyfetch/distros/distro_detector.py @@ -104,10 +104,14 @@ def detect(name: str) -> AsciiArt | None: from .apricity import apricity return apricity + if name.startswith('archcraft_minimal'): + from .archcraft_minimal import archcraft_minimal + return archcraft_minimal + if name.startswith('archcraft'): from .archcraft import archcraft return archcraft - + if name.startswith('arcolinux_small'): from .arcolinux_small import arcolinux_small return arcolinux_small diff --git a/neofetch b/neofetch index 63245851..90c417cf 100755 --- a/neofetch +++ b/neofetch @@ -7008,7 +7008,31 @@ MMMMMMMMMMNds/. dhhyys+/-` EOF ;; - + "archcraft_minimal"*) + set_colors 6 1 2 3 4 5 + read -rd '' ascii_data <<'EOF' +${c1} ⢰⡆ + ⢠⣿⣿⡄ + ⢀⣾⣿⣿⣿⡀ + ⣼⣿⣿⣿⣿⣷⡀ + ⣼⣿⣿⣿⣿⣿⣿⣷ + ⢼⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣤⣈⠻⢿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣿⣿⣿⣿⣮⣿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ + ⣼⣿⣿⣿⣿⣿⡿⣿⣿⡟ ⠸⣿⣿⡿⣿⣿⣿⣿⣿⣷⡀ + ⣼⣿⣿⣿⣿⣿⡏ ⠈⣿⣿⣿⣿⣿⣷⡀ + ⢀⣼⣿⣿⣿⣿⣿⣿⡗ ⢀⣠⣤⣀ ⠸⣿⣿⣿⣿⣿⣿⣷⡀ + ⢀⣾⣿⣿⣿⣿⣿⡏⠁ ⢠⣿⣿⣿⣿⡇ ⢙⣿⣿⣻⠿⣿⣷⡀ + ⢀⣾⣿⣿⣿⣿⣿⣿⣷⣤⡀ ⠻⣿⣿⡿⠃ ⢀⣼⣿⣿⣿⣿⣦⣌⠙ + ⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏ ⢿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀ + ⢠⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁ ⠙⠻⣿⣿⣿⣿⣿⣿⣿⣿⡄ + ⣠⣿⣿⣿⣿⠿⠛⠋⠁ ⠉⠙⠻⢿⣿⣿⣿⣿⣆ +⡰⠟⠛⠉⠁ ⠉⠙⠛⠿⢆ +EOF + ;; "Archcraft"*) set_colors 6 1 2 3 4 5 read -rd '' ascii_data <<'EOF'