vemonet / EmojiMart

🏪 Modern emoji picker popup for desktop, based on Emoji Mart, built with Tauri and Svelte
MIT License
59 stars 1 forks source link

How to make it work? 🐞 #9

Open codernirdesh opened 7 months ago

codernirdesh commented 7 months ago

Describe the bug

Like in windows when we press win + . the emoji picker pops-up. Similar to that how can we use any shortcut to open it in/for the focused input field ?

Reproduction

No response

Operating System

Linux

Emoji Mart version

latest

Additional context

No response

codernirdesh commented 7 months ago

Currently I assigned it to a keyboard shortcut win+. and used the command flatpak run io.github.vemonet.EmojiMart the app pops open but selection isn't being inserted in the text-field.

vemonet commented 7 months ago

Hi @codernirdesh , assigning flatpak run io.github.vemonet.EmojiMart is the right way to go on Linux. Personally I have it set to Super + E

However, the app is not built to automatically put the text you highlighted in the search box (if I understand well that's what you are expecting?). You will need to write yourself to find the emoji you are looking for

I take note to look into it, maybe Tauri has APIs for that. But I would expect this might be a bit tricky to get it to work everywhere (it will probably be handled differently on x11 and wayland)