Fix incorrect font name on XFCE
This commit is contained in:
parent
3e9c3d648c
commit
cce254d338
8
neofetch
8
neofetch
|
@ -1351,7 +1351,7 @@ getstyle() {
|
||||||
name="gtk-theme-name"
|
name="gtk-theme-name"
|
||||||
gsettings="gtk-theme"
|
gsettings="gtk-theme"
|
||||||
gconf="gtk_theme"
|
gconf="gtk_theme"
|
||||||
xfconf="ThemeName"
|
xfconf="/Net/ThemeName"
|
||||||
kde="widgetStyle"
|
kde="widgetStyle"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -1359,7 +1359,7 @@ getstyle() {
|
||||||
name="gtk-icon-theme-name"
|
name="gtk-icon-theme-name"
|
||||||
gsettings="icon-theme"
|
gsettings="icon-theme"
|
||||||
gconf="icon_theme"
|
gconf="icon_theme"
|
||||||
xfconf="IconThemeName"
|
xfconf="/Net/IconThemeName"
|
||||||
kde="Theme"
|
kde="Theme"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -1367,7 +1367,7 @@ getstyle() {
|
||||||
name="gtk-font-name"
|
name="gtk-font-name"
|
||||||
gsettings="font-name"
|
gsettings="font-name"
|
||||||
gconf="font_theme"
|
gconf="font_theme"
|
||||||
xfconf="FontName"
|
xfconf="/Gtk/FontName"
|
||||||
kde="font"
|
kde="font"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -1416,7 +1416,7 @@ getstyle() {
|
||||||
|
|
||||||
"Xfce"*)
|
"Xfce"*)
|
||||||
type -p xfconf-query >/dev/null 2>&1 && \
|
type -p xfconf-query >/dev/null 2>&1 && \
|
||||||
gtk2theme="$(xfconf-query -c xsettings -p /Net/"$xfconf")"
|
gtk2theme="$(xfconf-query -c xsettings -p "$xfconf")"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Reference in New Issue