sindresorhus / emoj

Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
MIT License
2.36k stars 57 forks source link

Copy functionality doesn't work under sway #54

Open Taomach opened 1 year ago

Taomach commented 1 year ago

Trying to use Emoj under Wayland with Sway compositor and Kitty terminal emulator. The "quick copy" functionality does not seem to work, so I have to select the emoji from the live search and copy it manually, which is pretty unwieldy.

sindresorhus commented 1 year ago

Wayland is currently not supported: https://github.com/sindresorhus/clipboardy/issues/38

btakita commented 5 months ago

Here is a workaround:

https://github.com/CleverCloud/random-labels/pull/1/commits/22fedac094c86ae05b6c0b4348719acc94e7b8d5

I also created a workaround coming from that commit:

https://github.com/btakita/dev-bin/blob/main/clipboard/clipboard__read.ts

https://github.com/btakita/dev-bin/blob/main/clipboard/clipboard__write.ts