From 20490a53e3261090618ceea870a7993648fded07 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 2 Oct 2016 19:30:56 +1100 Subject: [PATCH] Fix GNOME showing wrong wm theme --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index ddfe3cda..eeb4b784 100755 --- a/neofetch +++ b/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)"