Skip to content

Instantly share code, notes, and snippets.

@bhavyakukkar
Last active October 11, 2023 09:59
Show Gist options
  • Save bhavyakukkar/1d640eb56e74ecaddea91b7f53583fc6 to your computer and use it in GitHub Desktop.
Save bhavyakukkar/1d640eb56e74ecaddea91b7f53583fc6 to your computer and use it in GitHub Desktop.
hyfetch-xenia-ascii
diff --git a/hyfetch/distros/distro_detector.py b/hyfetch/distros/distro_detector.py
index 1ba562e..45f0526 100644
--- a/hyfetch/distros/distro_detector.py
+++ b/hyfetch/distros/distro_detector.py
@@ -1403,6 +1403,10 @@ def detect(name: str) -> AsciiArt | None:
if name.startswith('zorin'):
from .zorin import zorin
return zorin
+
+ if name.startswith('xenia'):
+ from .xenia import xenia
+ return xenia
if name.endswith('bsd'):
from .bsd import bsd
@@ -1427,4 +1431,4 @@ def detect(name: str) -> AsciiArt | None:
if name == 'sunos':
from .sunos import sunos
return sunos
-
\ No newline at end of file
+
diff --git a/neofetch b/neofetch
index c7d1dc6d..973976d2 100755
--- a/neofetch
+++ b/neofetch
@@ -14800,6 +14800,33 @@ ssssssssssssso/-` `-/osssssssssssss
EOF
;;
+ "Xenia"*)
+ set_colors 3 2 1
+ read -rd '' ascii_data <<'EOF'
+${c2} ,c. .c;
+${c2} .${c1}KMMMk${c2}.... ....${c1}kMMMK${c2}.
+${c2} .${c1}WMMMMMX${c2}..... .....${c1}KMMMMMW.
+${c1} XMMMMMMM0${c2}..... ....${c1}OMMMMMMMN
+${c1} dMMMMMMMMM;${c2}.... ..... ....,${c1}MMMMMMMMMd
+${c1} WMMMMMMMMMl;${c3}okKKKKKKKKKOo${c1};cMMMMMMMMMM
+${c1} 'MMMMMMMNX${c2}K0${c3}KKKKKKKKKKKKKKK${c2}0K${c1}XNMMMMMMM;
+${c1} oMMMMMMM${c2}Oxo${c3}KKKKKKKKKKKKKKKKK${c2}oxO${c1}MMMMMMMd
+${c1} dMMMMMMM${c2}dxxx${c3}KKKKKKKKKKKKKKK${c2}xxxd${c1}NMMMMMMk
+${c1} :MMMMX0${c2}xxxxxx${c3}0KKKKKKKK0KK0${c2}xxxxxx0${c1}XMMMMc
+${c1} MMMO${c2}xxxxxxxxdx${c3}kdd${c2}0x0${c3}ddk${c2}xdxxxxxxxx${c1}OMMM
+${c1} ;${c2}xxkxddxxxxdodxxxxdxdxxxxdodxxxxddxkxx${c1};
+${c1}dxd${c2}KMMMWXo${c1}'.....'${c2}cdxxxdc${c1}'.....'${c2}lXWMMMX${c1}dxd
+${c1}cxd${c2}XMMMN${c1},..........${c2}dxd${c1}'.........'${c2}XMMMN${c1}dxl
+${c1} .xx${c2}WMMl${c1}...''....'.;k:.'....''...${c2}lMMW${c1}xx.
+${c1}..:kXMMx..'....''..kMk..''....'..xMMXkc..
+${c1} dMMMMMMd.....'...xMMMx...''....dMMMMMMx
+${c1} kMMMMWOoc:coOkolllokOoc:coOWMMMMO
+${c1} .MMMMMMMMl${c2}...${c1}lNMMMMMMM.
+${c1} KMMMMMMX${c2}l${c1}KMMMMMMX
+${c1} .MMMMMMMMM.
+EOF
+ ;;
+
*)
case $kernel_name in
*"BSD")
# This file is automatically generated. Please do not modify.
from . import AsciiArt
xenia = AsciiArt(match=r'''"Xenia"*''', color='3 2 1', ascii=r"""
${c2} ,c. .c;
${c2} .${c1}KMMMk${c2}.... ....${c1}kMMMK${c2}.
${c2} .${c1}WMMMMMX${c2}..... .....${c1}KMMMMMW.
${c1} XMMMMMMM0${c2}..... ....${c1}OMMMMMMMN
${c1} dMMMMMMMMM;${c2}.... ..... ....,${c1}MMMMMMMMMd
${c1} WMMMMMMMMMl;${c3}okKKKKKKKKKOo${c1};cMMMMMMMMMM
${c1} 'MMMMMMMNX${c2}K0${c3}KKKKKKKKKKKKKKK${c2}0K${c1}XNMMMMMMM;
${c1} oMMMMMMM${c2}Oxo${c3}KKKKKKKKKKKKKKKKK${c2}oxO${c1}MMMMMMMd
${c1} dMMMMMMM${c2}dxxx${c3}KKKKKKKKKKKKKKK${c2}xxxd${c1}NMMMMMMk
${c1} :MMMMX0${c2}xxxxxx${c3}0KKKKKKKK0KK0${c2}xxxxxx0${c1}XMMMMc
${c1} MMMO${c2}xxxxxxxxdx${c3}kdd${c2}0x0${c3}ddk${c2}xdxxxxxxxx${c1}OMMM
${c1} ;${c2}xxkxddxxxxdodxxxxdxdxxxxdodxxxxddxkxx${c1};
${c1}dxd${c2}KMMMWXo${c1}'.....'${c2}cdxxxdc${c1}'.....'${c2}lXWMMMX${c1}dxd
${c1}cxd${c2}XMMMN${c1},..........${c2}dxd${c1}'.........'${c2}XMMMN${c1}dxl
${c1} .xx${c2}WMMl${c1}...''....'.;k:.'....''...${c2}lMMW${c1}xx.
${c1}..:kXMMx..'....''..kMk..''....'..xMMXkc..
${c1} dMMMMMMd.....'...xMMMx...''....dMMMMMMx
${c1} kMMMMWOoc:coOkolllokOoc:coOWMMMMO
${c1} .MMMMMMMMl${c2}...${c1}lNMMMMMMM.
${c1} KMMMMMMX${c2}l${c1}KMMMMMMX
${c1} .MMMMMMMMM.
""")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment