diff --git a/core_functions.sh b/core_functions.sh index 7421942..cb48b39 100644 --- a/core_functions.sh +++ b/core_functions.sh @@ -558,6 +558,7 @@ function usage () { printf " "$BOLDVERT"-f"$NORMAL" : install everything (see doc for exceptions)\n" printf " "$BOLDVERT"-a"$NORMAL" : install all apps\n" printf " "$BOLDVERT"-c"$NORMAL" : install gtk themes and icons\n" + printf " "$BOLDVERT"-w"$NORMAL" : install Nitrogen + remove desktop management from caja\n" printf " "$BOLDVERT"-d"$NORMAL" : install DNS Cache Unbound\n" printf " "$BOLDVERT"-k"$NORMAL" : install cardreader apps\n" printf " "$BOLDVERT"-s"$NORMAL" : install Solaar for Logitech devices\n" diff --git a/yggdrasil.sh b/yggdrasil.sh index 339cc71..1bc6b13 100755 --- a/yggdrasil.sh +++ b/yggdrasil.sh @@ -50,7 +50,7 @@ echo "--[ Yggdrasil log ]--[ "$cDate" ]--[ "$cTime" ]-----------------------" >> # # arguments/options management with getopts -while getopts ":h,v,f,c,u,a,d,k,s,t,n,T" option; do +while getopts ":h,v,f,c,u,a,d,k,s,t,n,w,T" option; do case "$option" in T) #test purpose only yggInit @@ -107,6 +107,7 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,T" option; do installViber installFranz installTeamViewer13 + toolAutoremove exit ;; f) # full install @@ -156,6 +157,7 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,T" option; do installViber installFranz installTeamViewer13 + toolAutoremove exit ;; c) # install themes and icons @@ -166,6 +168,12 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,T" option; do installThemes exit ;; + w) # nitrogen + yggInit + updateSystem + installNitrogen + exit + ;; d) # install Unbound DNS Cache yggInit updateSystem @@ -201,6 +209,10 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,T" option; do updateSystem exit ;; + p) + toolAutoremove + exit + ;; h) # display help usage exit