Term: Add font support for LXTerminal

This commit is contained in:
Michael Straube 2017-07-15 15:27:11 +02:00
parent 082c53e57e
commit 70b7816b6c

View file

@ -1793,6 +1793,10 @@ get_term_font() {
[[ "$profile_filename" ]] && term_font="$(awk -F '=|,' '/Font=/ {print $2 " " $3}' "$profile_filename")" [[ "$profile_filename" ]] && term_font="$(awk -F '=|,' '/Font=/ {print $2 " " $3}' "$profile_filename")"
;; ;;
"lxterminal"*)
term_font="$(awk -F '=' '/fontname=/ {print $2; exit}' "${XDG_CONFIG_HOME}/lxterminal/lxterminal.conf")"
;;
"mate-terminal") "mate-terminal")
# To get the actual config we have to create a temporarily file with the --save-config option. # To get the actual config we have to create a temporarily file with the --save-config option.
mateterm_config="/tmp/mateterm.cfg" mateterm_config="/tmp/mateterm.cfg"