alfred-convert icon indicating copy to clipboard operation
alfred-convert copied to clipboard

Request: Use currency symbol instead of Convert icon when converting currency

Open filliph opened this issue 4 years ago • 7 comments

When converting currency into multiple units at once, it would make it easier to differentiate if a currency symbol was used instead of the Convert icon:

image

Thanks for considering :)

filliph avatar Jun 17 '20 11:06 filliph

I'm not sure I follow you. Do you mean the appropriate icon for each currency, or just one currency icon that's different from the normal icon?

deanishe avatar Jun 17 '20 14:06 deanishe

The appropriate icon for each currency. Here's a badly made mockup: 84894012-15792580-b098-11ea-9b99-0237cdcaf41c (But also using the appropriate icons for the other currencies 😅)

filliph avatar Jun 17 '20 14:06 filliph

Right, that makes more sense than the other way. Do you know of a ready-made collection of currency icons? The workflow supports nearly 200 fiat currencies, and several times as many cryptocurrencies.

There is no way I'm going to try and make even a fraction of those myself. I suppose flag icons would be an alternative, but I still don't fancy mapping hundreds of currencies to icons.

deanishe avatar Jun 17 '20 17:06 deanishe

I've found these for crypto: https://github.com/allienworks/cryptocoins | https://github.com/spothq/cryptocurrency-icons And these other MIT-licensed Alfred workflows that have flags ready-mapped: https://github.com/tomy0000000/coon | https://github.com/plummm/alfred3-workflow-CurrencyX

I can't seem to find currency symbols for fiat, but it might be more recognisable to use flags for that anyway.

If neither of those crypto projects keep their icons in the same format as you'd need them, I might be able to help convert them if you give me a format / size to aim for 😄

filliph avatar Jun 17 '20 17:06 filliph

Good finds. None of them are really in the right format/size, but that's easy enough to fix with a script. Workflow icons should be 128px (they're 64px in size, and double it for Retina screens).

I still can't believe that fella called his workflow "Coon". Someone opened an issue explaining that the name is inapproriate, but I don't think he got across exactly how inappropriate it is.

I'll have a think about it. The workflow itself has no idea what kind of units it's showing, so that would need to be handled, too.

Perhaps I could add something generic, like "look for an icon named <unit>.png", and then people can add their own icons for other units, too, if they want. Also no need to add all the icons at once, I suppose.

deanishe avatar Jun 17 '20 18:06 deanishe

I still can't believe that fella called his workflow "Coon". Someone opened an issue explaining that the name is inapproriate, but I don't think he got across exactly how inappropriate it is.

Yeah... That's one of the reasons I went looking for alternatives and found this project. Made sure to delete it off my computer as well.

I'll have a think about it. The workflow itself has no idea what kind of units it's showing, so that would need to be handled, too.

Perhaps I could add something generic, like "look for an icon named <unit>.png", and then people can add their own icons for other units, too, if they want. Also no need to add all the icons at once, I suppose.

Yeah, if there was a set of icons built-in, as well as a sub-folder in Workflow Data/net.deanishe.alfred-convert where we could drop custom icons, that'd probably be the optimal solution 😄

If I knew Python I'd dig around to see if I could help with a PR, my forte is PHP (pls no bully 😭)

filliph avatar Jun 17 '20 18:06 filliph

Yeah, if there was a set of icons built-in, as well as a sub-folder in Workflow Data/net.deanishe.alfred-convert where we could drop custom icons, that'd probably be the optimal solution 😄

Exactly what I was thinking.

Yeah... That's one of the reasons I went looking for alternatives and found this project. Made sure to delete it off my computer as well.

I'm going to create another issue to try to make clear that "culturally inappropriate" is a massive understatement. The author is Taiwanese, and I think he just didn't get how bad the word is.

deanishe avatar Jun 17 '20 19:06 deanishe