Update install.sh

pull/142/head
Praveen 5 years ago committed by GitHub
parent 0b16634d79
commit 8a71dbc416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ THEME_DIR="/usr/share/grub/themes"
REO_DIR="$(cd $(dirname $0) && pwd)" REO_DIR="$(cd $(dirname $0) && pwd)"
} }
THEME_VARIANTS=('tela' 'vimix' 'stylish' 'slaze' 'whitesur') THEME_VARIANTS=('tela' 'vimix' 'stylish' 'slaze' 'whitesur' 'cool')
ICON_VARIANTS=('color' 'white' 'whitesur') ICON_VARIANTS=('color' 'white' 'whitesur')
SCREEN_VARIANTS=('1080p' '2k' '4k' 'ultrawide' 'ultrawide2k') SCREEN_VARIANTS=('1080p' '2k' '4k' 'ultrawide' 'ultrawide2k')
@ -263,6 +263,7 @@ run_dialog() {
3) theme="stylish" ;; 3) theme="stylish" ;;
4) theme="slaze" ;; 4) theme="slaze" ;;
5) theme="whitesur" ;; 5) theme="whitesur" ;;
6) theme="cool" ;;
*) operation_canceled ;; *) operation_canceled ;;
esac esac
@ -467,6 +468,10 @@ while [[ $# -gt 0 ]]; do
whitesur) whitesur)
themes+=("${THEME_VARIANTS[4]}") themes+=("${THEME_VARIANTS[4]}")
shift shift
;;
cool)
themes+=("${THEME_VARIANTS[5]}")
shift
;; ;;
-*|--*) -*|--*)
break break

Loading…
Cancel
Save