From 32c4b00bfd82a83b1cf0cf808951837f0272e36d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 24 Jan 2017 23:41:48 +1100 Subject: [PATCH] Ascii: [Windows 10] Fix ascii_distro not working --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 48825845..a739039e 100755 --- a/neofetch +++ b/neofetch @@ -59,7 +59,6 @@ get_distro() { "tiny") distro="Windows 10" ;; *) distro="$(lsb_release -sd) on Windows 10" ;; esac - ascii_distro="Windows 10" elif [[ -f "/etc/GoboLinuxVersion" ]]; then case "$distro_shorthand" in @@ -3143,7 +3142,7 @@ get_distro_colors() { ascii_file="void" ;; - "Windows 8"* | "Windows 10"*) + *"[Windows 10]"* | *"on Windows 10"* | "Windows 8"* | "Windows 10"*) set_colors 6 7 ascii_file="windows10" ;;