mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Fix incorrect font name on XFCE
This commit is contained in:
8
neofetch
8
neofetch
@@ -1351,7 +1351,7 @@ getstyle() {
|
||||
name="gtk-theme-name"
|
||||
gsettings="gtk-theme"
|
||||
gconf="gtk_theme"
|
||||
xfconf="ThemeName"
|
||||
xfconf="/Net/ThemeName"
|
||||
kde="widgetStyle"
|
||||
;;
|
||||
|
||||
@@ -1359,7 +1359,7 @@ getstyle() {
|
||||
name="gtk-icon-theme-name"
|
||||
gsettings="icon-theme"
|
||||
gconf="icon_theme"
|
||||
xfconf="IconThemeName"
|
||||
xfconf="/Net/IconThemeName"
|
||||
kde="Theme"
|
||||
;;
|
||||
|
||||
@@ -1367,7 +1367,7 @@ getstyle() {
|
||||
name="gtk-font-name"
|
||||
gsettings="font-name"
|
||||
gconf="font_theme"
|
||||
xfconf="FontName"
|
||||
xfconf="/Gtk/FontName"
|
||||
kde="font"
|
||||
;;
|
||||
esac
|
||||
@@ -1416,7 +1416,7 @@ getstyle() {
|
||||
|
||||
"Xfce"*)
|
||||
type -p xfconf-query >/dev/null 2>&1 && \
|
||||
gtk2theme="$(xfconf-query -c xsettings -p /Net/"$xfconf")"
|
||||
gtk2theme="$(xfconf-query -c xsettings -p "$xfconf")"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user