...
This commit is contained in:
parent
fcf7a3fca4
commit
10843ffabb
3
fetch
3
fetch
|
@ -902,6 +902,7 @@ getgtk () {
|
||||||
# Format the string
|
# Format the string
|
||||||
gtk3theme=${gtk3theme/${name}*=/}
|
gtk3theme=${gtk3theme/${name}*=/}
|
||||||
gtk3theme=${gtk3theme//\"/}
|
gtk3theme=${gtk3theme//\"/}
|
||||||
|
gtk3theme=${gtk3theme/[[:space:]]}
|
||||||
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
|
||||||
|
@ -911,8 +912,6 @@ getgtk () {
|
||||||
gtktheme="None"
|
gtktheme="None"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gtktheme=${gtktheme/^[[:space:]]/}
|
|
||||||
|
|
||||||
# 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