add nitrogen in headless cli opts
This commit is contained in:
parent
bfc8efa5e3
commit
022b985596
2 changed files with 14 additions and 1 deletions
|
@ -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"
|
||||
|
|
14
yggdrasil.sh
14
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
|
||||
|
|
Loading…
Reference in a new issue