Fixed #602
| @ -84,7 +84,7 @@ GS_GR_XML_FILE="${THEME_SRC_DIR}/main/gnome-shell/gnome-shell-theme.gresource.xm | ||||
| 
 | ||||
| #-------------Theme---------------# | ||||
| THEME_NAME="WhiteSur" | ||||
| COLOR_VARIANTS=('light' 'dark') | ||||
| COLOR_VARIANTS=('Light' 'Dark') | ||||
| OPACITY_VARIANTS=('normal' 'solid') | ||||
| ALT_VARIANTS=('normal' 'alt') | ||||
| THEME_VARIANTS=('default' 'blue' 'purple' 'pink' 'red' 'orange' 'yellow' 'green' 'grey') | ||||
|  | ||||
| @ -376,7 +376,7 @@ install_shelly() { | ||||
|     mv -f "assets/no-notifications.svg" "no-notifications.svg" | ||||
|   ) | ||||
| 
 | ||||
|   if [[ "${black_font:-}" == 'true' || "${opacity}" == '-solid' ]] && [[ "${color}" == '-light' ]]; then | ||||
|   if [[ "${black_font:-}" == 'true' || "${opacity}" == '-solid' ]] && [[ "${color}" == '-Light' ]]; then | ||||
|     cp -r "${THEME_SRC_DIR}/assets/gnome-shell/activities-black/activities${icon}.svg"        "${TARGET_DIR}/assets/activities.svg" | ||||
|   fi | ||||
| } | ||||
| @ -387,10 +387,10 @@ install_theemy() { | ||||
|   local alt="$(destify ${3})" | ||||
|   local theme="$(destify ${4})" | ||||
| 
 | ||||
|   if [[ "${color}" == '-light' ]]; then | ||||
|   if [[ "${color}" == '-Light' ]]; then | ||||
|     local iconcolor='' | ||||
|   elif [[ "${color}" == '-dark' ]]; then | ||||
|     local iconcolor='-dark' | ||||
|   elif [[ "${color}" == '-Dark' ]]; then | ||||
|     local iconcolor='-Dark' | ||||
|   fi | ||||
| 
 | ||||
|   local TARGET_DIR="${dest}/${name}${color}${opacity}${alt}${theme}${colorscheme}" | ||||
| @ -423,7 +423,7 @@ install_theemy() { | ||||
|   cp -r "${THEME_SRC_DIR}/assets/gtk/windows-assets/titlebutton${alt}${colorscheme}"          "${TMP_DIR_T}/windows-assets" | ||||
| 
 | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk${color}.scss"                         "${TMP_DIR_T}/gtk.css" | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk-dark.scss"                            "${TMP_DIR_T}/gtk-dark.css" | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk-Dark.scss"                            "${TMP_DIR_T}/gtk-dark.css" | ||||
| 
 | ||||
|   mkdir -p                                                                                    "${TARGET_DIR}/gtk-3.0" | ||||
|   cp -r "${THEME_SRC_DIR}/assets/gtk/thumbnails/thumbnail${color}${theme}${colorscheme}.png"  "${TARGET_DIR}/gtk-3.0/thumbnail.png" | ||||
| @ -438,7 +438,7 @@ install_theemy() { | ||||
|   cp -r "${TMP_DIR_T}/windows-assets"                                                         "${TMP_DIR_F}" | ||||
| 
 | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk${color}.scss"                         "${TMP_DIR_F}/gtk.css" | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss"                            "${TMP_DIR_F}/gtk-dark.css" | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-Dark.scss"                            "${TMP_DIR_F}/gtk-dark.css" | ||||
| 
 | ||||
|   mkdir -p                                                                                    "${TARGET_DIR}/gtk-4.0" | ||||
|   cp -r "${THEME_SRC_DIR}/assets/gtk/thumbnails/thumbnail${color}${theme}${colorscheme}.png"  "${TARGET_DIR}/gtk-4.0/thumbnail.png" | ||||
| @ -476,7 +476,6 @@ install_theemy() { | ||||
| } | ||||
| 
 | ||||
| remove_packy() { | ||||
|   rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})${colorscheme}" | ||||
|   rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})${colorscheme}" | ||||
|   rm -rf "${HOME}/.config/gtk-4.0/"{gtk.css,gtk-dark.css,assets,windows-assets} | ||||
|   rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-hdpi" | ||||
| @ -486,6 +485,12 @@ remove_packy() { | ||||
|   # rm -rf "${dest}/${name}$(destify ${1})-mdpi" | ||||
| } | ||||
| 
 | ||||
| remove_old_packy() { | ||||
|   rm -rf "${dest}/${name}${1}$(destify ${2})$(destify ${3})$(destify ${4})${5}" | ||||
|   rm -rf "${dest}/${name}${1}${5}-hdpi" | ||||
|   rm -rf "${dest}/${name}${1}${5}-xhdpi" | ||||
| } | ||||
| 
 | ||||
| config_gtk4() { | ||||
|   local color="$(destify ${1})" | ||||
|   local alt="$(destify ${2})" | ||||
| @ -496,7 +501,7 @@ config_gtk4() { | ||||
|   mkdir -p                                                                                    "${TARGET_DIR}" | ||||
|   rm -rf                                                                                      "${TARGET_DIR}/"{gtk.css,gtk-dark.css,assets,windows-assets} | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk${color}.scss"                         "${TARGET_DIR}/gtk.css" | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss"                            "${TARGET_DIR}/gtk-dark.css" | ||||
|   sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-Dark.scss"                            "${TARGET_DIR}/gtk-dark.css" | ||||
|   cp -r "${THEME_SRC_DIR}/assets/gtk/common-assets/assets"                                    "${TARGET_DIR}" | ||||
|   cp -r "${THEME_SRC_DIR}/assets/gtk/common-assets/sidebar-assets/"*".png"                    "${TARGET_DIR}/assets" | ||||
|   cp -r "${THEME_SRC_DIR}/assets/gtk/scalable"                                                "${TARGET_DIR}/assets" | ||||
| @ -548,6 +553,18 @@ remove_themes() { | ||||
|     done | ||||
|   done | ||||
| 
 | ||||
|   for color in '-light' '-dark'; do | ||||
|     for opacity in "${OPACITY_VARIANTS[@]}"; do | ||||
|       for alt in "${ALT_VARIANTS[@]}"; do | ||||
|         for theme in "${THEME_VARIANTS[@]}"; do | ||||
|           for scheme in '' '-nord'; do | ||||
|             remove_old_packy "${color}" "${opacity}" "${alt}" "${theme}" "${scheme}" | ||||
|           done | ||||
|         done | ||||
|       done | ||||
|     done | ||||
|   done | ||||
| 
 | ||||
|   wait ${process_ids[*]} &> /dev/null | ||||
| } | ||||
| 
 | ||||
|  | ||||
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB | 
| Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB | 
| Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB | 
| Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB | 
| Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB | 
| Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB | 
| Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB | 
| Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB | 
| Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB | 
| Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B | 
| Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B | 
| Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB | 
| Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB | 
| Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB | 
| Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B | 
| Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B | 
| Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B | 
| Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B | 
| Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB | 
| Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 432 B | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B | 
| Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B | 
| Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B | 
| Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B | 
| Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B | 
| Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 364 B | 
| Before Width: | Height: | Size: 363 B After Width: | Height: | Size: 363 B | 
| Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B | 
| Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B | 
| Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 283 B | 
| Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B | 
| Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 312 B | 
| Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 310 B | 
| Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 315 B | 
| Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 359 B | 
| Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B | 
| Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 355 B | 
| Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 399 B | 
| Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B | 
| Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B | 
| Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B | 
| Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B | 
| Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B | 
 vinceliuice
						vinceliuice