Term: Add xfce4-terminal fallback font
This commit is contained in:
parent
9596b0b921
commit
b6b6083d2b
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