term_font: add qterminal support

This commit is contained in:
Michael Straube 2018-05-03 19:46:14 +02:00
parent cdb576479e
commit 2f5f7f5ab4

View file

@ -2195,6 +2195,11 @@ END
term_font="$(trim_quotes "$term_font")"
;;
"qterminal")
term_font="$(awk -F '=' '/fontFamily=/ {a=$2} /fontSize=/ {b=$2} END{print a " " b}' \
"${XDG_CONFIG_HOME}/qterminal.org/qterminal.ini")"
;;
"sakura"*)
term_font="$(awk -F '=' '/^font=/ {print $2; exit}' \
"${XDG_CONFIG_HOME}/sakura/sakura.conf")"