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:
parent
0081152c28
commit
933e95d31c
1 changed files with 2 additions and 2 deletions
|
@ -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"*)
|
||||||
|
|
Loading…
Reference in a new issue