1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Use Konsole/Yakuake detection from upstream

This commit is contained in:
Dominik Ritter 2019-02-03 08:41:32 +01:00
parent 0081152c28
commit 933e95d31c

View file

@ -210,7 +210,7 @@ END
term_font="${term_font/$'\n'*} $term_font_size" term_font="${term_font/$'\n'*} $term_font_size"
;; ;;
"konsole"*) "konsole" | "yakuake")
# Get Process ID of current konsole window / tab # Get Process ID of current konsole window / tab
child="$(get_ppid "$$")" child="$(get_ppid "$$")"
@ -234,7 +234,7 @@ END
profile_filename="${profile_filename/$'\n'*}" profile_filename="${profile_filename/$'\n'*}"
[[ "$profile_filename" ]] && \ [[ "$profile_filename" ]] && \
term_font="$(awk -F '=|,' '/Font=/ {print $2 " " $3}' "$profile_filename")" term_font="$(awk -F '=|,' '/Font=/ {print $2,$3}' "$profile_filename")"
;; ;;
"lxterminal"*) "lxterminal"*)