Term: Add font support for LXTerminal
This commit is contained in:
parent
082c53e57e
commit
70b7816b6c
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue