Fixed issues

This commit is contained in:
vinceliuice 2023-04-18 14:30:43 +08:00
parent 165251a9f5
commit 4c87893a80
2 changed files with 5 additions and 3 deletions

View file

@ -873,9 +873,9 @@ gtk_base() {
customize_theme() { customize_theme() {
cp -rf "${THEME_SRC_DIR}/sass/_theme-options"{".scss","-temp.scss"} cp -rf "${THEME_SRC_DIR}/sass/_theme-options"{".scss","-temp.scss"}
# Darker dark colors # Nord dark colors
if [[ "${colorscheme}" == '-nord' ]]; then if [[ "${colorscheme}" == '-nord' ]]; then
prompt -s "Changing color scheme style to nord style ...\n" prompt -s "Changing ColorScheme style to nord version ...\n"
sed $SED_OPT "/\$colorscheme/s/default/nord/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$colorscheme/s/default/nord/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi

View file

@ -159,6 +159,8 @@ while [[ $# -gt 0 ]]; do
no_blur="true"; shift ;; no_blur="true"; shift ;;
-l|--libadwaita) -l|--libadwaita)
libadwaita="true"; shift ;; libadwaita="true"; shift ;;
--nord|--nordcolor)
colorscheme="-nord"; shift ;;
# Parameters that require value, single use # Parameters that require value, single use
-b|--background) -b|--background)
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;; check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;