lukas-w / font-logos

An icon font providing popular linux distro's logos
https://lukas-w.github.io/font-logos
The Unlicense
446 stars 85 forks source link

create_nf_lib: Replace minus with underscore #150

Closed Finii closed 3 weeks ago

Finii commented 3 weeks ago

[why] Names with minus in them are not present in the Nerd Font instance names, they follow the pattern "nf_<set>_<name>" where there are no minus (dash) characters in the name.

[how] Replace all minuses with underscores when generating the entries.

[note] Also fix typo/rename leftover.

Turned up when creating

Finii commented 3 weeks ago

Thanks for the excellent script, btw :green_heart:

hasecilu commented 3 weeks ago

This was the script that I should have done the very first time I sent a PR to Nerd-Fonts (with font-logos update), like half of that was automated and the other half filled by hand.