alexmyczko / fnt

apt for fonts, the missing font manager for macOS/linux
Other
489 stars 20 forks source link

feature request: enable installing multiple fonts in one install call #30

Open galkk opened 1 year ago

galkk commented 1 year ago

Make command like fnt install anonymouspro azeretmono cousine dejavu firacode hack ibmplexmono notosansmono oxygenmono robotomono victormono to install all the fonts specified.


I was confused finding that command from above will install only anonymouspro and silently exit, without any indication that it doesn't install the rest of the fonts.

That feature will bring fnt install on par with typical distro installer behavior, e.g. apt-get install package1 package2 does installs both of packages.

workaround, if somebody lands here

So far I did simple loop in my dotfiles:

# Change to `fnt install` after https://github.com/alexmyczko/fnt/issues/30 is fixed
fonts=(anonymouspro \
        azeretmono \
        cousine \
        dejavu \
        firacode \
        hack \
        ibmplexmono \
        notosansmono \
        oxygenmono \
        robotomono \
        victormono \
)

for font in ${fonts[@]}; do
    fnt install $font
done

Thanks

alexmyczko commented 1 year ago

Apropos mono fonts did you try agave and kode-mono yet?

galkk commented 1 year ago

Thanks for suggestions, I haven't tried those. Upon looking, Agave is too quirky. I cannot accept font with such "q" letter as they have :) I cannot see Kode as daily driver in the coding, but in terminal it looks quite fun...

Also both of them do not have variations like italics, so this is no go for me.

My font tastes are changing from one extreme to another in about 1-1.5 years. Previously I loved quite wide Azeret Mono font, then switched everywhere to quite narrow (but good looking) Victor Mono, and now I found Iosevka that while looking good is even narrower than Victor Mono, and using it for a week.

alexmyczko commented 1 year ago

We all wait for it: https://github.com/blobject/agave/issues/5

PT Mono (paratype)?

Or TT2020?

galkk commented 1 year ago

Those look fun :)

You got wealth of different fonts knowledge, no surprising given where we are :)

alexmyczko commented 1 year ago

https://www.computerhope.com/unix/bash/shift.htm

crpb commented 3 months ago

Well, it could be added but you could just do an echo font1 font2 font3 font4 .. font99 |xargs -I '{}' -d' ' fnt install '{}' and be done with it.