From 651d38c949ac36926d1acfb9ad6e95395c51a626 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 2 Nov 2016 10:16:16 +1100 Subject: [PATCH] Theme: Misc fixes --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 5baeac04..04fa8d0a 100755 --- a/neofetch +++ b/neofetch @@ -593,7 +593,7 @@ getwmtheme() { if type -p gsettings >/dev/null 2>&1; then wmtheme="$(gsettings get org.gnome.shell.extensions.user-theme name)" - [ -z "$wmtheme" ] && \ + [ -z "${wmtheme//\'}" ] && \ wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" elif type -p gconftool-2 >/dev/null 2>&1; then @@ -1332,7 +1332,7 @@ getstyle() { fi ;; - "Gnome"* | "Unity"* | "Budgie") + "Gnome"* | "Unity"* | "Budgie"*) if type -p gsettings >/dev/null 2>&1; then gtk3theme="$(gsettings get org.gnome.desktop.interface "$gsettings")" gtk2theme="${gtk3theme}"