term_font: Fix font detection for Konsole >= 19.12.0
This commit is contained in:
parent
8de31f074a
commit
84d76a7ff3
1
neofetch
1
neofetch
|
@ -3112,6 +3112,7 @@ END
|
||||||
if ((child == "$(qdbus "$i" "$session" processId)")); then
|
if ((child == "$(qdbus "$i" "$session" processId)")); then
|
||||||
profile="$(qdbus "$i" "$session" environment |\
|
profile="$(qdbus "$i" "$session" environment |\
|
||||||
awk -F '=' '/KONSOLE_PROFILE_NAME/ {print $2}')"
|
awk -F '=' '/KONSOLE_PROFILE_NAME/ {print $2}')"
|
||||||
|
[[ ! $profile ]] && profile="$(qdbus "$i" "$session" profile)"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Reference in New Issue