From 8bcfa43089c2126da96d7c65ba6ae8455aaf34f7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 5 Nov 2016 10:29:21 +1100 Subject: [PATCH 1/2] Ascii [Linux] Add tux ascii art if distro ascii art doesn't exist --- ascii/distro/linux | 14 ++++++++++++++ neofetch | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 ascii/distro/linux diff --git a/ascii/distro/linux b/ascii/distro/linux new file mode 100644 index 00000000..77a7d367 --- /dev/null +++ b/ascii/distro/linux @@ -0,0 +1,14 @@ +"\ +${c2} ##### +${c2} ####### +${c2} ##${c1}O${c2}#${c1}O${c2}## +${c2} #${c3}#####${c2}# +${c2} ##${c1}##${c3}###${c1}##${c2}## +${c2} #${c1}##########${c2}## +${c2} #${c1}############${c2}## +${c2} #${c1}############${c2}### +${c3} ##${c2}#${c1}###########${c2}##${c3}# +${c3} ######${c2}#${c1}#######${c2}#${c3}###### +${c3} #######${c2}#${c1}#####${c2}#${c3}####### +${c3} #####${c2}#######${c3}##### +" diff --git a/neofetch b/neofetch index c1258f32..bf416934 100755 --- a/neofetch +++ b/neofetch @@ -2561,9 +2561,22 @@ colors() { setcolors 1 2 4 3 ;; - "Raspbian"* | *) + "Raspbian"*) setcolors 2 1 ;; + + "Linux") + setcolors fg 8 3 + ;; + + *) + case "$os" in + "Linux") + ascii_distro="linux" + setcolors fg 8 3 + ;; + esac + ;; esac # Overwrite distro colors if '$ascii_colors' doesn't From 378a25f32b135170cd676138005545a3782c336e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 5 Nov 2016 10:47:54 +1100 Subject: [PATCH 2/2] Ascii: Update Linux ascii --- ascii/distro/linux | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ascii/distro/linux b/ascii/distro/linux index 77a7d367..dff5a167 100644 --- a/ascii/distro/linux +++ b/ascii/distro/linux @@ -1,14 +1,14 @@ "\ -${c2} ##### -${c2} ####### -${c2} ##${c1}O${c2}#${c1}O${c2}## -${c2} #${c3}#####${c2}# -${c2} ##${c1}##${c3}###${c1}##${c2}## -${c2} #${c1}##########${c2}## -${c2} #${c1}############${c2}## -${c2} #${c1}############${c2}### -${c3} ##${c2}#${c1}###########${c2}##${c3}# -${c3} ######${c2}#${c1}#######${c2}#${c3}###### -${c3} #######${c2}#${c1}#####${c2}#${c3}####### -${c3} #####${c2}#######${c3}##### +${c2} ##### +${c2} ####### +${c2} ##${c1}O${c2}#${c1}O${c2}## +${c2} #${c3}#####${c2}# +${c2} ##${c1}##${c3}###${c1}##${c2}## +${c2} #${c1}##########${c2}## +${c2} #${c1}############${c2}## +${c2} #${c1}############${c2}### +${c3} ##${c2}#${c1}###########${c2}##${c3}# +${c3}######${c2}#${c1}#######${c2}#${c3}###### +${c3}#######${c2}#${c1}#####${c2}#${c3}####### +${c3} #####${c2}#######${c3}##### "