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