Realized that you will not take pipes so did it this way instead

This commit is contained in:
Christopher Patrick Fair 2022-05-23 15:48:44 -06:00
parent c779230f0b
commit 3f7b6aa3e2

View file

@ -3442,7 +3442,9 @@ END
"kitty"*) "kitty"*)
term_font="from kitty.cli import *; o = create_default_opts(); \ term_font="from kitty.cli import *; o = create_default_opts(); \
print(f'{o.font_family} {o.font_size}')" print(f'{o.font_family} {o.font_size}')"
term_font="$(kitty +runpy ''"$term_font"''|sed "s/=//"|sed "s/'//g")" term_font="$(kitty +runpy ''"$term_font"'')"
term_font="${term_font//=}"
term_font="${term_font//\'}"
;; ;;
"konsole" | "yakuake") "konsole" | "yakuake")