mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-03-03 14:32:43 +02:00
Use Konsole/Yakuake detection from upstream
This commit is contained in:
parent
0081152c28
commit
933e95d31c
@ -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"*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user