Fix font support for yakuake (#1615)

Originally added in #1063, but did not actually work because it only
looked for konsole processes (rather than yakuake's) when querying its
session profile.
This commit is contained in:
Sekai Zhou 2020-11-25 13:22:45 +08:00 committed by GitHub
parent d4f6abf1a8
commit df61458e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3335,7 +3335,7 @@ END
QT_BINDIR="$(qtpaths --binaries-dir)" && PATH+=":$QT_BINDIR" QT_BINDIR="$(qtpaths --binaries-dir)" && PATH+=":$QT_BINDIR"
IFS=$'\n' read -d "" -ra konsole_instances \ IFS=$'\n' read -d "" -ra konsole_instances \
<<< "$(qdbus | awk '/org.kde.konsole/ {print $1}')" <<< "$(qdbus | awk '/org.kde.'"$term"'/ {print $1}')"
for i in "${konsole_instances[@]}"; do for i in "${konsole_instances[@]}"; do
IFS=$'\n' read -d "" -ra konsole_sessions <<< "$(qdbus "$i" | grep -F '/Sessions/')" IFS=$'\n' read -d "" -ra konsole_sessions <<< "$(qdbus "$i" | grep -F '/Sessions/')"