This commit is contained in:
vinceliuice 2018-10-04 12:40:12 +08:00
parent c73a6e6e48
commit 7d1dbd8f33
2 changed files with 7 additions and 6 deletions

View File

@ -70,8 +70,9 @@ Usage: `./Install` **[OPTIONS...]**
|-d, --dest | Specify theme destination directory (Default: $HOME/.themes)| |-d, --dest | Specify theme destination directory (Default: $HOME/.themes)|
|-n, --name | Specify theme name (Default: Sierra)| |-n, --name | Specify theme name (Default: Sierra)|
|-c, --color | Specify theme color variant(s) **[light/dark]** (Default: All variants)| |-c, --color | Specify theme color variant(s) **[light/dark]** (Default: All variants)|
|-t, --trans | Specify theme transparent variant(s) **[standard/solid]** (Default: All variants)| |-o, --opacity | Specify theme opacity variant(s) **[standard/solid]** (Default: All variants)|
|-s, --size | Specify theme size variant(s) **[standard/compact]** (Default: All variants)| |-f, --falt | Specify theme flat variant(s) **[standard/compact]** (Default: All variants)|
|-t, --thin | Specify theme titilebutton variant(s) [standard/thin] (Default: All variants)|
|-g, --gdm | Install GDM theme| |-g, --gdm | Install GDM theme|
|-h, --help | Show this help| |-h, --help | Show this help|

View File

@ -28,7 +28,7 @@ usage() {
printf " %-25s%s\n" "-n, --name NAME" "Specify theme name (Default: ${THEME_NAME})" printf " %-25s%s\n" "-n, --name NAME" "Specify theme name (Default: ${THEME_NAME})"
printf " %-25s%s\n" "-o, --opacity VARIANTS" "Specify theme opacity variant(s) [standard|solid] (Default: All variants)" printf " %-25s%s\n" "-o, --opacity VARIANTS" "Specify theme opacity variant(s) [standard|solid] (Default: All variants)"
printf " %-25s%s\n" "-c, --color VARIANTS" "Specify theme color variant(s) [light|dark] (Default: All variants)" printf " %-25s%s\n" "-c, --color VARIANTS" "Specify theme color variant(s) [light|dark] (Default: All variants)"
printf " %-25s%s\n" "-i, --thin VARIANTS" "Specify theme titilebutton variant(s) [standard|thin] (Default: All variants)" printf " %-25s%s\n" "-t, --thin VARIANTS" "Specify theme titilebutton variant(s) [standard|thin] (Default: All variants)"
printf " %-25s%s\n" "-f, --flat VARIANT" "Specify theme flat compact variant [standard|compact] (Default: All variants)" printf " %-25s%s\n" "-f, --flat VARIANT" "Specify theme flat compact variant [standard|compact] (Default: All variants)"
printf " %-25s%s\n" "-g, --gdm" "Install GDM theme" printf " %-25s%s\n" "-g, --gdm" "Install GDM theme"
printf " %-25s%s\n" "-h, --help" "Show this help" printf " %-25s%s\n" "-h, --help" "Show this help"
@ -157,7 +157,7 @@ while [[ $# -gt 0 ]]; do
gdm='true' gdm='true'
shift 1 shift 1
;; ;;
-t|--opacity) -o|--opacity)
shift shift
for opacity in "${@}"; do for opacity in "${@}"; do
case "${opacity}" in case "${opacity}" in
@ -203,7 +203,7 @@ while [[ $# -gt 0 ]]; do
esac esac
done done
;; ;;
-s|--flat) -f|--flat)
shift shift
for flat in "${@}"; do for flat in "${@}"; do
case "${flat}" in case "${flat}" in
@ -226,7 +226,7 @@ while [[ $# -gt 0 ]]; do
esac esac
done done
;; ;;
-i|--thin) -t|--thin)
shift shift
for thin in "${@}"; do for thin in "${@}"; do
case "${thin}" in case "${thin}" in