Fix whitespace issue if gtk2 theme wasn't found
This commit is contained in:
parent
aa4395279d
commit
936aeab35a
1 changed files with 3 additions and 3 deletions
6
fetch
6
fetch
|
@ -886,10 +886,10 @@ getgtk () {
|
|||
fi
|
||||
|
||||
# Format the string
|
||||
gtk2theme=${gtk2theme/${name}=/}
|
||||
gtk2theme=${gtk2theme/${name}*=/}
|
||||
gtk2theme=${gtk2theme//\"/}
|
||||
gtk2theme="$gtk2theme"
|
||||
gtktheme="$gtk2theme [GTK2] "
|
||||
[ "$gtktheme" ] && gtktheme="$gtk2theme [GTK2] "
|
||||
|
||||
# Check for gtk3 theme
|
||||
if [ -f "$HOME/.config/gtk-3.0/settings.ini" ]; then
|
||||
|
@ -899,7 +899,7 @@ getgtk () {
|
|||
fi
|
||||
|
||||
# Format the string
|
||||
gtk3theme=${gtk3theme/${name}=/}
|
||||
gtk3theme=${gtk3theme/${name}*=/}
|
||||
gtk3theme=${gtk3theme//\"/}
|
||||
gtk3theme="$gtk3theme"
|
||||
gtktheme="$gtk2theme $gtk3theme [GTK3]"
|
||||
|
|
Loading…
Reference in a new issue