Unverified Commit d96ed38f authored by Michael Straube's avatar Michael Straube Committed by GitHub

term_font: fix alacritty (#1535)

parent e33625ba
...@@ -3206,7 +3206,8 @@ get_term_font() { ...@@ -3206,7 +3206,8 @@ get_term_font() {
[[ -f "${confs[0]}" ]] || return [[ -f "${confs[0]}" ]] || return
term_font="$(awk -F ':|#' '/normal:/ {getline; print}' "${confs[0]}")" term_font="$(awk '/normal:/ {while (!/family:/ || /#/)
{if (!getline) {exit}} print; exit}' "${confs[0]}")"
term_font="${term_font/*family:}" term_font="${term_font/*family:}"
term_font="${term_font/$'\n'*}" term_font="${term_font/$'\n'*}"
term_font="${term_font/\#*}" term_font="${term_font/\#*}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment