Skip to content

Commit

Permalink
Fixed gnome-shell 47 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Nov 15, 2024
1 parent b5f2a53 commit 9e227a8
Show file tree
Hide file tree
Showing 21 changed files with 18,844 additions and 12 deletions.
10 changes: 6 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,9 @@ fi
if [[ "$(command -v gnome-shell)" ]]; then
echo; prompt -w "Desktop version: '$(gnome-shell --version)'";
SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
if [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
if [[ "${SHELL_VERSION:-}" -ge "47" ]]; then
GS_VERSION="47-0"
elif [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
GS_VERSION="46-0"
elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
GS_VERSION="44-0"
Expand All @@ -764,9 +766,9 @@ if [[ "$(command -v gnome-shell)" ]]; then
else
GS_VERSION="3-28"
fi
else
prompt -e "'gnome-shell' not found, using styles for last gnome-shell version available."
GS_VERSION="46-0"
else
prompt -e "'gnome-shell' not found, using styles for last gnome-shell version available."
GS_VERSION="47-0"
fi

if [[ "${gdm:-}" != 'true' && "${revert:-}" != 'true' ]]; then
Expand Down
2 changes: 2 additions & 0 deletions parse-sass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ for color in "${_COLOR_VARIANTS[@]}"; do
echo "==> Generating the 44.0 gnome-shell${color}${trans}${theme}.css..."
sassc $SASSC_OPT src/main/gnome-shell/shell-46-0/gnome-shell${color}${trans}${theme}.{scss,css}
echo "==> Generating the 46.0 gnome-shell${color}${trans}${theme}.css..."
sassc $SASSC_OPT src/main/gnome-shell/shell-47-0/gnome-shell${color}${trans}${theme}.{scss,css}
echo "==> Generating the 47.0 gnome-shell${color}${trans}${theme}.css..."
sassc $SASSC_OPT src/main/cinnamon/cinnamon${color}${trans}${theme}.{scss,css}
echo "==> Generating the cinnamon${color}${trans}${theme}.css..."
done
Expand Down
Loading

0 comments on commit 9e227a8

Please sign in to comment.