If KDE theme is found don't look for GTK2/3 Themes

This commit is contained in:
Dylan 2016-02-16 10:42:38 +11:00
parent 0427eb3f05
commit 98f1a0e057
1 changed files with 3 additions and 2 deletions

5
fetch
View File

@ -1195,8 +1195,9 @@ getgtk () {
if [ -f "${kde_config_dir}/share/config/kdeglobals" ]; then if [ -f "${kde_config_dir}/share/config/kdeglobals" ]; then
kde_config_file="${kde_config_dir}/share/config/kdeglobals" kde_config_file="${kde_config_dir}/share/config/kdeglobals"
gtk3theme=$(grep "^[^#]*$kde" "$kde_config_file") gtktheme=$(grep "^[^#]*$kde" "$kde_config_file")
gtk3theme=${gtk3theme/${kde}*=} gtktheme=${gtk3theme/${kde}*=}
return
fi fi
;; ;;