Term Font (Termite): Ignore comments
This commit is contained in:
parent
946ac5eaa0
commit
e31e9a400e
2
neofetch
2
neofetch
|
@ -1591,7 +1591,7 @@ gettermfont() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"termite")
|
"termite")
|
||||||
termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
|
termfont="$(awk -F '= ' '!/^($|#|;)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"mintty")
|
"mintty")
|
||||||
|
|
Reference in New Issue