From 84d76a7ff3cb251d7a40c3f465fb9919e841c3c1 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sun, 22 Dec 2019 13:38:20 +0100 Subject: [PATCH] term_font: Fix font detection for Konsole >= 19.12.0 --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index efcea319..1f977cc0 100755 --- a/neofetch +++ b/neofetch @@ -3112,6 +3112,7 @@ END if ((child == "$(qdbus "$i" "$session" processId)")); then profile="$(qdbus "$i" "$session" environment |\ awk -F '=' '/KONSOLE_PROFILE_NAME/ {print $2}')" + [[ ! $profile ]] && profile="$(qdbus "$i" "$session" profile)" break fi done