[F] Fix terminal font info for yakuake (again)

Once fixed in dylanaraps#1615, but got broken again with the fix of
hykilpikonna#116.
This commit is contained in:
syimyuzya 2024-02-15 13:48:23 +08:00
parent 048e2d93fd
commit eeffb35944

View file

@ -4654,8 +4654,8 @@ END
# Get Process ID of current konsole window / tab
child="$(get_ppid "$$")"
# Loop while the process name is not "konsole"
while [[ "$(ps -p "$(get_ppid "$child")" -o comm=)" != "konsole" ]]; do
# Loop while the process name is not "konsole"/"yakuake"
while [[ "$(ps -p "$(get_ppid "$child")" -o comm=)" != "$term" ]]; do
# Get the parent process ID
child="$(get_ppid "$child")"