From 5d6f9c45d6cf3b2a17538e39fd9de8526e207c3e Mon Sep 17 00:00:00 2001 From: dontknowhy Date: Wed, 27 Jul 2022 21:28:05 +0800 Subject: [PATCH] Add Termux font support --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index a7c1e637..c5d15369 100755 --- a/neofetch +++ b/neofetch @@ -3598,6 +3598,9 @@ END "$termite_config")" ;; + "Termux $TERMUX_VERSION") + term_font=$(fc-scan /data/data/com.termux/files/home/.termux/font.ttf|grep fullname:|cut -d '"' -f2) + urxvt|urxvtd|rxvt-unicode|xterm) xrdb=$(xrdb -query) term_font=$(grep -im 1 -e "^${term/d}"'\**\.*font:' -e '^\*font:' <<< "$xrdb")