term_font: add qterminal support

This commit is contained in:
Michael Straube 2018-05-03 19:46:14 +02:00
parent cdb576479e
commit 2f5f7f5ab4
1 changed files with 5 additions and 0 deletions

View File

@ -2195,6 +2195,11 @@ END
term_font="$(trim_quotes "$term_font")" 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"*) "sakura"*)
term_font="$(awk -F '=' '/^font=/ {print $2; exit}' \ term_font="$(awk -F '=' '/^font=/ {print $2; exit}' \
"${XDG_CONFIG_HOME}/sakura/sakura.conf")" "${XDG_CONFIG_HOME}/sakura/sakura.conf")"