term_font: Fix font detection for Konsole >= 19.12.0
This commit is contained in:
@@ -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
Block a user