mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-10-01 05:44:38 -07:00
Fixed gnome-shell 46 issues
This commit is contained in:
10
install.sh
10
install.sh
@@ -31,7 +31,9 @@ SIZE_VARIANTS=('' '-Compact')
|
||||
if [[ "$(command -v gnome-shell)" ]]; then
|
||||
gnome-shell --version
|
||||
SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
|
||||
if [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
|
||||
if [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
|
||||
GS_VERSION="46-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
|
||||
GS_VERSION="44-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "42" ]]; then
|
||||
GS_VERSION="42-0"
|
||||
@@ -40,9 +42,9 @@ if [[ "$(command -v gnome-shell)" ]]; then
|
||||
else
|
||||
GS_VERSION="3-28"
|
||||
fi
|
||||
else
|
||||
echo "'gnome-shell' not found, using styles for last gnome-shell version available."
|
||||
GS_VERSION="44-0"
|
||||
else
|
||||
echo "'gnome-shell' not found, using styles for last gnome-shell version available."
|
||||
GS_VERSION="46-0"
|
||||
fi
|
||||
|
||||
usage() {
|
||||
|
Reference in New Issue
Block a user