From 70b7816b6ca8d1778bd92aa0db21042b69519a29 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sat, 15 Jul 2017 15:27:11 +0200 Subject: [PATCH] Term: Add font support for LXTerminal --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index f9e6671e..17c6b429 100755 --- a/neofetch +++ b/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"