Fix GNOME showing wrong wm theme
This commit is contained in:
parent
76ab8b0520
commit
20490a53e3
1 changed files with 4 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -561,6 +561,9 @@ getwmtheme() {
|
||||||
|
|
||||||
'Compiz' | 'Mutter'* | 'GNOME Shell' | 'Gala')
|
'Compiz' | 'Mutter'* | 'GNOME Shell' | 'Gala')
|
||||||
if type -p gsettings >/dev/null 2>&1; then
|
if type -p gsettings >/dev/null 2>&1; then
|
||||||
|
wmtheme="$(gsettings get org.gnome.shell.extensions.user-theme name)"
|
||||||
|
|
||||||
|
[ -z "$wmtheme" ] && \
|
||||||
wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)"
|
wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)"
|
||||||
|
|
||||||
elif type -p gconftool-2 >/dev/null 2>&1; then
|
elif type -p gconftool-2 >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Reference in a new issue