Term: Add xfce4-terminal fallback font

This commit is contained in:
Michael Straube 2017-07-15 20:29:19 +02:00
parent 9596b0b921
commit b6b6083d2b

View file

@ -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
} }