From 10843ffabb0798187b2e0f9b3757b661b53ed543 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 24 Jan 2016 11:09:44 +1100 Subject: [PATCH] ... --- fetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fetch b/fetch index 43ecf3de..0321671d 100755 --- a/fetch +++ b/fetch @@ -902,6 +902,7 @@ getgtk () { # Format the string gtk3theme=${gtk3theme/${name}*=/} gtk3theme=${gtk3theme//\"/} + gtk3theme=${gtk3theme/[[:space:]]} gtktheme="${gtk2theme}${gtk3theme} [GTK3]" # Check to see if gtk2 and gtk3 theme are identical @@ -911,8 +912,6 @@ getgtk () { gtktheme="None" fi - gtktheme=${gtktheme/^[[:space:]]/} - # Make the output shorter by removing "[GTKX]" from the string if [ "$gtk_shorthand" == "on" ]; then gtktheme=${gtktheme/ [GTK2]/}