Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorful NixOS logo #311

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions hyfetch/distros/distro_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,10 @@ def detect(name: str) -> AsciiArt | None:
from .nixos_old import nixos_old
return nixos_old

if name.startswith('nixos_colorful'):
from .nixos_colorful import nixos_colorful
return nixos_colorful

if name.startswith('nixos'):
from .nixos import nixos
return nixos
Expand Down
27 changes: 27 additions & 0 deletions hyfetch/distros/nixos_colorful.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file is automatically generated. Please do not modify.

from . import AsciiArt

nixos_colorful = AsciiArt(match=r'''"nixos_colorful"*''', color='4 6 4 6 4 6', ascii=r"""
${c1} ▗▄▄▄ ${c2}▗▄▄▄▄ ▄▄▄▖
${c1} ▜███▙ ${c2}▜███▙ ▟███▛
${c1} ▜███▙ ${c2}▜███▙▟███▛
${c1} ▜███▙ ${c2}▜██████▛
${c1} ▟█████████████████▙ ${c2}▜████▛ ${c3}▟▙
${c1} ▟███████████████████▙ ${c2}▜███▙ ${c3}▟██▙
${c6} ▄▄▄▄▖ ${c2}▜███▙ ${c3}▟███▛
${c6} ▟███▛ ${c2}▜██▛ ${c3}▟███▛
${c6} ▟███▛ ${c2}▜▛ ${c3}▟███▛
${c6}▟███████████▛ ${c3}▟██████████▙
${c6}▜██████████▛ ${c3}▟███████████▛
${c6} ▟███▛ ${c5}▟▙ ${c3}▟███▛
${c6} ▟███▛ ${c5}▟██▙ ${c3}▟███▛
${c6} ▟███▛ ${c5}▜███▙ ${c3}▝▀▀▀▀
${c6} ▜██▛ ${c5}▜███▙ ${c4}▜██████████████████▛
${c6} ▜▛ ${c5}▟████▙ ${c4}▜████████████████▛
${c5} ▟██████▙ ${c4}▜███▙
${c5} ▟███▛▜███▙ ${c4}▜███▙
${c5} ▟███▛ ▜███▙ ${c4}▜███▙
${c5} ▝▀▀▀ ▀▀▀▀▘ ${c4}▀▀▀▘
""")

26 changes: 26 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -11946,6 +11946,32 @@ ${c1} ${c1}¯¯¯¯ ¯¯¯¯¯¯¯${c2} ¯¯¯¯
EOF
;;

"nixos_colorful"*)
set_colors 4 6 4 6 4 6
read -rd '' ascii_data <<'EOF'
${c1} ▗▄▄▄ ${c2}▗▄▄▄▄ ▄▄▄▖
${c1} ▜███▙ ${c2}▜███▙ ▟███▛
${c1} ▜███▙ ${c2}▜███▙▟███▛
${c1} ▜███▙ ${c2}▜██████▛
${c1} ▟█████████████████▙ ${c2}▜████▛ ${c3}▟▙
${c1} ▟███████████████████▙ ${c2}▜███▙ ${c3}▟██▙
${c6} ▄▄▄▄▖ ${c2}▜███▙ ${c3}▟███▛
${c6} ▟███▛ ${c2}▜██▛ ${c3}▟███▛
${c6} ▟███▛ ${c2}▜▛ ${c3}▟███▛
${c6}▟███████████▛ ${c3}▟██████████▙
${c6}▜██████████▛ ${c3}▟███████████▛
${c6} ▟███▛ ${c5}▟▙ ${c3}▟███▛
${c6} ▟███▛ ${c5}▟██▙ ${c3}▟███▛
${c6} ▟███▛ ${c5}▜███▙ ${c3}▝▀▀▀▀
${c6} ▜██▛ ${c5}▜███▙ ${c4}▜██████████████████▛
${c6} ▜▛ ${c5}▟████▙ ${c4}▜████████████████▛
${c5} ▟██████▙ ${c4}▜███▙
${c5} ▟███▛▜███▙ ${c4}▜███▙
${c5} ▟███▛ ▜███▙ ${c4}▜███▙
${c5} ▝▀▀▀ ▀▀▀▀▘ ${c4}▀▀▀▘
EOF
;;

"NixOS"*)
set_colors 4 6
read -rd '' ascii_data <<'EOF'
Expand Down