fix: wallpaper not changing
Add new method to obtain GNOME version without breaking backwards compatibility. closes #3
This commit is contained in:
parent
d4140662e4
commit
7b55c9922c
|
@ -33,6 +33,8 @@ prepare() {
|
|||
get_gnome_version() {
|
||||
if [ -r "/usr/share/gnome/gnome-version.xml" ]; then
|
||||
gversion="$(grep -i "platform" /usr/share/gnome/gnome-version.xml | tr -d " <platform>" | tr -d "/")"
|
||||
elif [ -e "/usr/bin/gnome-shell" ] && [ -x "/usr/bin/gnome-shell" ]; then
|
||||
gversion="$(gnome-shell --version | cut -d' ' -f3 | cut -d'.' -f1)"
|
||||
fi
|
||||
}
|
||||
get_gnome_color_scheme() {
|
||||
|
|
Loading…
Reference in New Issue