i3-workspace-names-daemon icon indicating copy to clipboard operation
i3-workspace-names-daemon copied to clipboard

Pro-only icons aren't included in fa_icons.py

Open sersorrel opened this issue 6 years ago • 5 comments

I believe this is a list of all icons only available in Font Awesome Pro – as far as I can tell, none of them are in fa_icons.py.

sersorrel avatar Nov 26 '18 19:11 sersorrel

OK, but are the font-awesome pro icons in the debian package? If not it won't render them anyway.

You could check by trying to render a pro icon after installing the fonts-font-awesome package, if it works then we can update fa_icons with the pro icons too.

cboddy avatar Nov 27 '18 10:11 cboddy

I assume they're not in the package, but given I've paid for the Pro icons I'd quite like to be able to use them, and I'd rather not have to use my own patched version of i3-workspace-names-daemon in order to do so.

sersorrel avatar Nov 27 '18 12:11 sersorrel

If you can find another way to install a version of font awesome with the pro icons then it can probably be integrated with this script. If you can provide a list of their names and unicode values, then they can be added to fa_icons.py, but people without the pro icons would not be able to use them. So they should probably be put in a separate file that can be referenced for pro users.

kensand avatar Nov 27 '18 17:11 kensand

OK, that is interesting @anowlcalledjosh

I'm certainly open to supporting this, here is what I'd expect/suggest:

  • create/find/procure a list of the font-awesome pro-icon-names to unicode from the font-awesome website or similar; https://github.com/FortAwesome/Font-Awesome/tree/master/metadata might be helpful. Ideally store the pro-cons in a separate file to the free ones.
  • add a flag to the script to toggle using the pro icons
  • update the README with instructions for installing the package with the pro icons and a way to check if the pro-version is installed
  • a warning message if a pro icon-name is used in the config but the pro-flag is not enabled

cboddy avatar Dec 12 '18 12:12 cboddy

Ok, I'll have a go at this.

@cboddy: How did you originally generate fa_icons.py? There's a JSON file describing all the icons (free and pro) at https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/metadata/icons.json (only accessible with a licence), so assuming you used the free equivalent of that file to generate the list, then it should be possible for me to generate a list of free+pro icons in exactly the same way.

sersorrel avatar Dec 22 '18 16:12 sersorrel