From edb9ea9a669980d00c216b0a5fc904b541600624 Mon Sep 17 00:00:00 2001 From: Francois B Date: Sat, 30 Dec 2017 22:12:24 +0100 Subject: [PATCH] logo as a fct --- yggdrasil.sh | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/yggdrasil.sh b/yggdrasil.sh index e6a2ad5..824170e 100755 --- a/yggdrasil.sh +++ b/yggdrasil.sh @@ -1186,9 +1186,9 @@ function createAppShortcut () { } # -# show usage for headless mode +# show Yggdrasil logo # -function usage () { +function dispLogo () { printf "\n" printf "$BOLDJAUNE" printf "██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ █████╗ ███████╗██╗██╗ \n" @@ -1200,6 +1200,13 @@ function usage () { printf "$BOLDROUGE Customize Linux Mint & Ubuntu derivatives made easier\n" printf "$BOLDBLANC ver "$version" - GPLv3 - Francois B. (Makotosan) - makotonoblog.be\n" printf "\n" +} + +# +# show usage for headless mode +# +function usage () { + dispLogo printf "$NORMAL" printf "Usage : yggdrasil [options]\n" printf " -a : install all apps (except: customization,tweak,dev,nightly,beta,hardware)\n" @@ -2807,17 +2814,7 @@ done clear -printf "\n" -printf "$BOLDJAUNE" -printf "██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ █████╗ ███████╗██╗██╗ \n" -printf "╚██╗ ██╔╝██╔════╝ ██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██╔════╝██║██║ \n" -printf " ╚████╔╝ ██║ ███╗██║ ███╗██║ ██║██████╔╝███████║███████╗██║██║ \n" -printf " ╚██╔╝ ██║ ██║██║ ██║██║ ██║██╔══██╗██╔══██║╚════██║██║██║ \n" -printf " ██║ ╚██████╔╝╚██████╔╝██████╔╝██║ ██║██║ ██║███████║██║███████╗\n" -printf " ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝╚══════╝\n" -printf "$BOLDROUGE Customize Linux Mint & Ubuntu derivatives made easier\n" -printf "$BOLDBLANC ver "$version" - GPLv3 - Francois B. (Makotosan) - makotonoblog.be\n" -printf "\n" +dispLogo printf "$BOLDVERT""User (userdir) :""$NORMAL"" $myHomedir\n" printf "$BOLDVERT""OS : ""$NORMAL"