Browse Source

[PR] dylanaraps/neofetch#2233 from JackGannonUK - Add Enso Support

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2233
Thanks to @JackGannonUK

Co-authored-by: Jack Gannon <jack@uquinix.com>
Hykilpikonna 2 years ago
parent
commit
21cffcc4f4
1 changed files with 27 additions and 0 deletions
  1. 27 0
      neofetch

+ 27 - 0
neofetch

@@ -1187,6 +1187,7 @@ get_distro() {
                     distro=${distro/DragonFly/DragonFlyBSD}
 
                     # Workarounds for some BSD based distros.
+                    [[ -f /etc/os-release ]]       && distro=Enso
                     [[ -f /etc/pcbsd-lang ]]       && distro=PCBSD
                     [[ -f /etc/trueos-lang ]]      && distro=TrueOS
                     [[ -f /etc/pacbsd-release ]]   && distro=PacBSD
@@ -8646,6 +8647,32 @@ dMm     `/++/-``/yNNh+/sdNMNddMm-    mMd
 EOF
         ;;
 
+        "Enso"*)
+            set_colors 8 7
+            read -rd '' ascii_data <<'EOF'
+${c1}                                                  
+                 .:--==--:.                
+            :=*#%%%%%%%#####*+-.           
+         .+%%%%%%%%%%%%###%%#*##*:         
+       .*%%%%%%%%%#+==-==++*####*##-       
+      =%%%%%%%#=:           .-+**#***.     
+     *%%%%%%#-                  ++*#**.    
+    +%%%%%%+                     -*+#**    
+   :%%%%%%*                       .*+**=   
+   *%%%%%%:                        --#*#   
+   %%%%%%%                          +++#.  
+   %%%%%%%.                         ++=*.  
+   *%%%%%%+                        .-+*+   
+   :%%%%%%%-                       -:*+:   
+    =%%%%%%%*.                    :.*+-    
+     +%%%%%%%%*-                  :*=-     
+      =%%%%%%%%%%#+=:            =+=:      
+       .+%%%%%%%%%%%%%.       .-==:        
+         .=#%%%%%%%%%%=   ..:--:.          
+            .-+#%%%%%+                     
+EOF
+        ;;
+
         "EuroLinux"*)
             set_colors 4 7
             read -rd '' ascii_data <<'EOF'