From 03430e8c9ff71246a485decf1bb05888a62f1351 Mon Sep 17 00:00:00 2001 From: hubenchang0515 Date: Mon, 18 Jan 2021 14:00:57 +0800 Subject: [PATCH] Add logo of UOS, which is the commercial version of deepin --- screenfetch-dev | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/screenfetch-dev b/screenfetch-dev index 356e45d..1d921fa 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -663,6 +663,10 @@ detectdistro () { distro="LinuxDeepin" distro_codename=null ;; + "Uos") + distro="Uos" + distro_codename=null + ;; "Kali"|"Debian Kali Linux") distro="Kali Linux" if [[ "${distro_codename}" =~ "kali-rolling" ]]; then @@ -1120,6 +1124,7 @@ detectdistro () { debian) distro="Debian" ;; devuan) distro="Devuan" ;; deepin) distro="Deepin" ;; + uos) distro="Uos" ;; desaos) distro="DesaOS" ;; dragonflybsd) distro="DragonFlyBSD" ;; dragora) distro="Dragora" ;; @@ -4350,6 +4355,33 @@ asciiText () { "${c1} .,:cccccccc:,. %s") ;; + "Uos") + if [[ "$no_color" != "1" ]]; then + c1=$(getColor 'blue') # red + c2=$(getColor 'orange') # red + fi + if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi + startline="0" + logowidth="52" + fulloutput=( +"${c1} %s" +"${c1} %s" +"${c1} ############ %s" +"${c1} ############## %s" +"${c1} ############ ${c2}oo %s" +"${c1} ######## ${c2}oooooo %s" +"${c1} ## #### ${c2}oooooooo %s" +"${c1} #### #### ${c2}oooooo %s" +"${c1} ###### #### ${c2}oooo %s" +"${c1} #### #### ${c2}oo %s" +"${c1} ## ############ %s" +"${c1} ################ %s" +"${c1} ################ %s" +"${c1} ######## %s" +"${c1} %s" +"${c1} %s") + ;; + "Chakra") if [[ "$no_color" != "1" ]]; then c1=$(getColor 'light blue') # Light Blue @@ -5837,7 +5869,7 @@ infoDisplay () { "Alpine Linux"|"Arch Linux - Old"|"blackPanther OS"|"Fedora"|"Korora"|"Chapeau"|"Mandriva"|"Mandrake"| \ "Chakra"|"ChromeOS"|"Sabayon"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"| \ "KaOS"|"Logos"|"gNewSense"|"Netrunner"|"NixOS"|"SailfishOS"|"Qubes OS"|"Kogaion"|"PCLinuxOS"| \ - "Obarun"|"Siduction"|"Solus"|"SwagArch"|"Parrot Security"|"Zorin OS") + "Obarun"|"Siduction"|"Solus"|"SwagArch"|"Parrot Security"|"Zorin OS"|"Uos") labelcolor=$(getColor 'light blue') ;; "Arch Linux"|"Artix Linux"|"Frugalware"|"Mageia"|"Deepin"|"CRUX"|"OS Elbrus")