Term: Add font support for LXTerminal
This commit is contained in:
parent
082c53e57e
commit
70b7816b6c
4
neofetch
4
neofetch
|
@ -1793,6 +1793,10 @@ get_term_font() {
|
|||
[[ "$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")
|
||||
# To get the actual config we have to create a temporarily file with the --save-config option.
|
||||
mateterm_config="/tmp/mateterm.cfg"
|
||||
|
|
Reference in New Issue