From 95fb38e73fd974d3a89ec38762407ade7d26e4e2 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sun, 3 Feb 2019 09:50:44 +0100 Subject: [PATCH] term_font: fix issue with konsole font detection Closes #1186 --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 67f7c184..9d90d852 100755 --- a/neofetch +++ b/neofetch @@ -2926,7 +2926,8 @@ END # Get Process ID of current konsole window / tab child="$(get_ppid "$$")" - IFS=$'\n' read -d "" -ra konsole_instances < <(qdbus | grep -F 'org.kde.konsole') + IFS=$'\n' read -d "" -ra konsole_instances \ + < <(qdbus | awk '/org.kde.konsole/ {print $1}') for i in "${konsole_instances[@]}"; do IFS=$'\n' read -d "" -ra konsole_sessions < <(qdbus "$i" | grep -F '/Sessions/')