mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
If KDE theme is found don't look for GTK2/3 Themes
This commit is contained in:
5
fetch
5
fetch
@@ -1195,8 +1195,9 @@ getgtk () {
|
||||
if [ -f "${kde_config_dir}/share/config/kdeglobals" ]; then
|
||||
kde_config_file="${kde_config_dir}/share/config/kdeglobals"
|
||||
|
||||
gtk3theme=$(grep "^[^#]*$kde" "$kde_config_file")
|
||||
gtk3theme=${gtk3theme/${kde}*=}
|
||||
gtktheme=$(grep "^[^#]*$kde" "$kde_config_file")
|
||||
gtktheme=${gtk3theme/${kde}*=}
|
||||
return
|
||||
fi
|
||||
;;
|
||||
|
||||
|
Reference in New Issue
Block a user