Merge pull request #649 from siiptuo/fix-alacritty-font
Fix Alacritty font detection
This commit is contained in:
commit
4e3a9a1ac8
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -1619,6 +1619,7 @@ get_term_font() {
|
||||||
term_font="$(awk -F ':|#' '/normal:/ {getline; print}' "${XDG_CONFIG_HOME}/alacritty/alacritty.yml")"
|
term_font="$(awk -F ':|#' '/normal:/ {getline; print}' "${XDG_CONFIG_HOME}/alacritty/alacritty.yml")"
|
||||||
term_font="${term_font/*family:}"
|
term_font="${term_font/*family:}"
|
||||||
term_font="${term_font/$'\n'*}"
|
term_font="${term_font/$'\n'*}"
|
||||||
|
term_font="${term_font/\#*}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Apple_Terminal")
|
"Apple_Terminal")
|
||||||
|
|
Loading…
Reference in a new issue