If KDE theme is found don't look for GTK2/3 Themes
This commit is contained in:
parent
0427eb3f05
commit
98f1a0e057
5
fetch
5
fetch
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Reference in New Issue