mirror of
https://github.com/vinceliuice/Colloid-icon-theme.git
synced 2025-09-16 07:58:38 -07:00
Fixed #6
This commit is contained in:
16
install.sh
16
install.sh
@@ -25,7 +25,7 @@ cat << EOF
|
|||||||
-d, --dest DIR Specify destination directory (Default: $DEST_DIR)
|
-d, --dest DIR Specify destination directory (Default: $DEST_DIR)
|
||||||
-n, --name NAME Specify theme name (Default: $THEME_NAME)
|
-n, --name NAME Specify theme name (Default: $THEME_NAME)
|
||||||
-s, --scheme TYPES Specify folder color scheme variant(s) [default|nord]
|
-s, --scheme TYPES Specify folder color scheme variant(s) [default|nord]
|
||||||
-t, --theme VARIANTS Specify folder color theme variant(s) [default|purple|pink|red|orange|yellow|green|grey|all] (Default: blue)
|
-t, --theme VARIANTS Specify folder color theme variant(s) [default|purple|pink|red|orange|yellow|green|teal|grey|all] (Default: blue)
|
||||||
-h, --help Show help
|
-h, --help Show help
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
@@ -141,8 +141,8 @@ while [[ "$#" -gt 0 ]]; do
|
|||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
prompt -e "ERROR: Unrecognized color schemes variant '$1'."
|
echo "ERROR: Unrecognized color schemes variant '$1'."
|
||||||
prompt -i "Try '$0 --help' for more information."
|
echo "Try '$0 --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -180,10 +180,14 @@ while [[ "$#" -gt 0 ]]; do
|
|||||||
themes+=("${THEME_VARIANTS[6]}")
|
themes+=("${THEME_VARIANTS[6]}")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
grey)
|
teal)
|
||||||
themes+=("${THEME_VARIANTS[7]}")
|
themes+=("${THEME_VARIANTS[7]}")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
grey)
|
||||||
|
themes+=("${THEME_VARIANTS[8]}")
|
||||||
|
shift
|
||||||
|
;;
|
||||||
all)
|
all)
|
||||||
themes+=("${THEME_VARIANTS[@]}")
|
themes+=("${THEME_VARIANTS[@]}")
|
||||||
shift
|
shift
|
||||||
@@ -192,8 +196,8 @@ while [[ "$#" -gt 0 ]]; do
|
|||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
prompt -e "ERROR: Unrecognized theme color variant '$1'."
|
echo "ERROR: Unrecognized theme color variant '$1'."
|
||||||
prompt -i "Try '$0 --help' for more information."
|
echo "Try '$0 --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user