Add bold version

This commit is contained in:
Vince
2021-07-05 08:43:08 +08:00
parent bc7e23b0ca
commit 7e495c20df
60 changed files with 321 additions and 23 deletions

View File

@@ -26,6 +26,7 @@ cat << EOF
-t, --theme VARIANT Specify theme color variant(s) [default|purple|pink|red|orange|yellow|green|grey|all] (Default: blue)
-c, --color VARIANT Specify color variant(s) [standard|light|dark] (Default: All variants)s)
-a, --alternative Install alternative icons for software center and file-manager
-b, --bold Install bold panel icons version
-h, --help Show help
EOF
}
@@ -53,6 +54,11 @@ install() {
mkdir -p ${THEME_DIR}/status
cp -r ${SRC_DIR}/src/{actions,animations,apps,categories,devices,emblems,mimes,places} ${THEME_DIR}
cp -r ${SRC_DIR}/src/status/{16,22,24,32,symbolic} ${THEME_DIR}/status
if [[ ${bold:-} == 'true' ]]; then
cp -r ${SRC_DIR}/bold/* ${THEME_DIR}
fi
cp -r ${SRC_DIR}/links/{actions,apps,categories,devices,emblems,mimes,places,status} ${THEME_DIR}
if [[ $DESKTOP_SESSION == '/usr/share/xsessions/budgie-desktop' ]]; then
@@ -144,6 +150,11 @@ while [[ "$#" -gt 0 ]]; do
echo "Installing 'alternative' version..."
shift
;;
-b|--bold)
bold='true'
echo "Installing 'bold' version..."
shift
;;
-t|--theme)
shift
for theme in "${@}"; do