Commit 0fca1ff3 authored by Andrew Titmuss's avatar Andrew Titmuss

added /usr/share as a gtk theme directory

parent e206729f
...@@ -1399,6 +1399,9 @@ getstyle () { ...@@ -1399,6 +1399,9 @@ getstyle () {
elif [ -f "/etc/gtk-2.0/gtkrc" ]; then elif [ -f "/etc/gtk-2.0/gtkrc" ]; then
gtk2theme=$(grep "^[^#]*$name" /etc/gtk-2.0/gtkrc) gtk2theme=$(grep "^[^#]*$name" /etc/gtk-2.0/gtkrc)
elif [ -f "/usr/share/gtk-2.0/gtkrc" ]; then
gtk2theme=$(grep "^[^#]*$name" /usr/share/gtk-2.0/gtkrc)
fi fi
gtk2theme=${gtk2theme/${name}*=} gtk2theme=${gtk2theme/${name}*=}
...@@ -1414,8 +1417,11 @@ getstyle () { ...@@ -1414,8 +1417,11 @@ getstyle () {
gtk3theme="$(gsettings get org.gnome.desktop.interface $gsettings)" gtk3theme="$(gsettings get org.gnome.desktop.interface $gsettings)"
gtk3theme=${gtk3theme//\'} gtk3theme=${gtk3theme//\'}
else elif [ -f "/etc/gtk-3.0/settings.ini" ]; then
gtk3theme=$(grep "^[^#]*$name" /etc/gtk-3.0/settings.ini) gtk3theme=$(grep "^[^#]*$name" /etc/gtk-3.0/settings.ini)
elif [ -f "/usr/share/gtk-3.0/settings.ini" ]; then
gtk3theme=$(grep "^[^#]*$name" /usr/share/gtk-3.0/settings.ini)
fi fi
gtk3theme=${gtk3theme/${name}*=} gtk3theme=${gtk3theme/${name}*=}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment