dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.93k stars 1.76k forks source link

[ Feature ] Adding foot to display terminals font #2219

Open justinesmithies opened 1 year ago

justinesmithies commented 1 year ago

To get neofetch to display the font using foot add the following somewhere below line 3353. Hope this helps someone...

"foot"*)
    term_font="$(awk -F 'font=|:size=' '/font=/ {print $2" "$3; exit}' "${XDG_CONFIG_HOME}/foot/foot.ini")"
        ;;
ftpd commented 9 months ago
  1. It should be :.*size, not :size= - for people using pixelsize
  2. :style= should also be added.