Mange / rofi-emoji

Emoji selector plugin for Rofi
MIT License
551 stars 26 forks source link

Filtering variants #76

Open kpcyrd opened 1 month ago

kpcyrd commented 1 month ago

hello!

I noticed sometimes rofi-emoji suggests a very long list of variants of the same emojis:

image

Is there a way to filter them in some way (through configuration)?

Thanks!

Mange commented 1 month ago

There is no built-in way to deal with this currently, but I'm open to ideas.

I could consider automatically detecting and grouping variants of "the same" Emoji, but I suspect doing this naively will cause other issues since a lot of Emojis are technically "variations" of each other.

For example, Phoenix 🐦‍🔥 is actually a "variant" of Bird :bird:, combined with Fire :fire:.

I think the variants most people prefer to either group or filter out would be gender and skin tone modifiers. In your case, you could go for just "Person shrugging" instead of "White woman shrugging", "Black man shrugging", and all the combinations in-between.