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

View file

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