From 2359a3ce2ebeb19596fbefe77fb0fa34c63c47d7 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 25 Jan 2016 01:14:35 +1100 Subject: [PATCH] Added comma to gtk theme output --- fetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fetch b/fetch index 52e16714..d19fabfc 100755 --- a/fetch +++ b/fetch @@ -906,13 +906,13 @@ getgtk () { gtk2theme=${gtk2theme//\"/} [ "$gtk2theme" ] && \ - gtktheme="$gtk2theme [GTK2] " + gtktheme="$gtk2theme [GTK2]," # Format the string gtk3theme=${gtk3theme/${name}*=/} gtk3theme=${gtk3theme//\"/} gtk3theme=${gtk3theme/[[:space:]]} - gtktheme="${gtktheme}${gtk3theme} [GTK3]" + gtktheme="${gtktheme} ${gtk3theme} [GTK3]" # Check to see if gtk2 and gtk3 theme are identical if [ "$gtk2theme" ] && [ "$gtk2theme" == "$gtk3theme" ]; then @@ -923,7 +923,7 @@ getgtk () { # Make the output shorter by removing "[GTKX]" from the string if [ "$gtk_shorthand" == "on" ]; then - gtktheme=${gtktheme/ '[GTK2]'/,} + gtktheme=${gtktheme/ '[GTK2]'} gtktheme=${gtktheme/ '[GTK3]'} gtktheme=${gtktheme/ '[GTK2/3]'} fi