aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2019-02-03 10:41:32 +0300
committerDominik Ritter <dritter03@googlemail.com>2019-02-03 10:41:32 +0300
commit933e95d31c0fec2fbd3e4e3151337ac8293d7d49 (patch)
tree405cb5652a40cb6a19de9834179273bf561ee250
parent0081152c28edb96bd12d943803cd01cc5ac6e497 (diff)
Use Konsole/Yakuake detection from upstream
-rwxr-xr-xdebug/font-issues.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/font-issues.zsh b/debug/font-issues.zsh
index 6b663514..c97ea34d 100755
--- a/debug/font-issues.zsh
+++ b/debug/font-issues.zsh
@@ -210,7 +210,7 @@ END
term_font="${term_font/$'\n'*} $term_font_size"
;;
- "konsole"*)
+ "konsole" | "yakuake")
# Get Process ID of current konsole window / tab
child="$(get_ppid "$$")"
@@ -234,7 +234,7 @@ END
profile_filename="${profile_filename/$'\n'*}"
[[ "$profile_filename" ]] && \
- term_font="$(awk -F '=|,' '/Font=/ {print $2 " " $3}' "$profile_filename")"
+ term_font="$(awk -F '=|,' '/Font=/ {print $2,$3}' "$profile_filename")"
;;
"lxterminal"*)