Fixed leading whitespace issue
This commit is contained in:
parent
b5deb6b255
commit
6a59d33581
4
fetch
4
fetch
|
@ -895,7 +895,6 @@ getgtk () {
|
||||||
# Format the strings
|
# Format the strings
|
||||||
gtk2theme=${gtk2theme/${name}*=/}
|
gtk2theme=${gtk2theme/${name}*=/}
|
||||||
gtk2theme=${gtk2theme//\"/}
|
gtk2theme=${gtk2theme//\"/}
|
||||||
gtk2theme=${gtk2theme/ / }
|
|
||||||
|
|
||||||
[ "$gtk2theme" ] && \
|
[ "$gtk2theme" ] && \
|
||||||
gtktheme="$gtk2theme [GTK2] "
|
gtktheme="$gtk2theme [GTK2] "
|
||||||
|
@ -903,7 +902,6 @@ getgtk () {
|
||||||
# Format the string
|
# Format the string
|
||||||
gtk3theme=${gtk3theme/${name}*=/}
|
gtk3theme=${gtk3theme/${name}*=/}
|
||||||
gtk3theme=${gtk3theme//\"/}
|
gtk3theme=${gtk3theme//\"/}
|
||||||
gtk3theme=${gtk3theme/ / }
|
|
||||||
gtktheme="${gtk2theme}${gtk3theme} [GTK3]"
|
gtktheme="${gtk2theme}${gtk3theme} [GTK3]"
|
||||||
|
|
||||||
# Check to see if gtk2 and gtk3 theme are identical
|
# Check to see if gtk2 and gtk3 theme are identical
|
||||||
|
@ -913,6 +911,8 @@ getgtk () {
|
||||||
gtktheme="None"
|
gtktheme="None"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gtktheme=${gtktheme// /}
|
||||||
|
|
||||||
# Make the output shorter by removing "[GTKX]" from the string
|
# Make the output shorter by removing "[GTKX]" from the string
|
||||||
if [ "$gtk_shorthand" == "on" ]; then
|
if [ "$gtk_shorthand" == "on" ]; then
|
||||||
gtktheme=${gtktheme/ [GTK2]/}
|
gtktheme=${gtktheme/ [GTK2]/}
|
||||||
|
|
Reference in New Issue