mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Term: Add xfce4-terminal fallback font
This commit is contained in:
5
neofetch
5
neofetch
@@ -1875,8 +1875,9 @@ get_term_font() {
|
|||||||
term_font="$(gsettings get org.gnome.desktop.interface monospace-font-name)"
|
term_font="$(gsettings get org.gnome.desktop.interface monospace-font-name)"
|
||||||
term_font="$(trim_quotes "$term_font")"
|
term_font="$(trim_quotes "$term_font")"
|
||||||
fi
|
fi
|
||||||
# TODO: Figure out how to get the fallback font when not using system-font
|
|
||||||
# and no font is set in the config file.
|
# Default fallback font hardcoded in terminal-preferences.c
|
||||||
|
[[ -z "$term_font" ]] && term_font="Monospace 12"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user