Theme: Misc fixes
This commit is contained in:
parent
6853144380
commit
651d38c949
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -593,7 +593,7 @@ getwmtheme() {
|
||||||
if type -p gsettings >/dev/null 2>&1; then
|
if type -p gsettings >/dev/null 2>&1; then
|
||||||
wmtheme="$(gsettings get org.gnome.shell.extensions.user-theme name)"
|
wmtheme="$(gsettings get org.gnome.shell.extensions.user-theme name)"
|
||||||
|
|
||||||
[ -z "$wmtheme" ] && \
|
[ -z "${wmtheme//\'}" ] && \
|
||||||
wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)"
|
wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)"
|
||||||
|
|
||||||
elif type -p gconftool-2 >/dev/null 2>&1; then
|
elif type -p gconftool-2 >/dev/null 2>&1; then
|
||||||
|
@ -1332,7 +1332,7 @@ getstyle() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Gnome"* | "Unity"* | "Budgie")
|
"Gnome"* | "Unity"* | "Budgie"*)
|
||||||
if type -p gsettings >/dev/null 2>&1; then
|
if type -p gsettings >/dev/null 2>&1; then
|
||||||
gtk3theme="$(gsettings get org.gnome.desktop.interface "$gsettings")"
|
gtk3theme="$(gsettings get org.gnome.desktop.interface "$gsettings")"
|
||||||
gtk2theme="${gtk3theme}"
|
gtk2theme="${gtk3theme}"
|
||||||
|
|
Loading…
Reference in a new issue