diff --git a/README.md b/README.md index 19b2e3a..91142e5 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,11 @@ depends on: -* xdotool * rofi * xsel offers you a list of all the emoji and then when you -pick one it types it into the focused input 4 u - -it also now copies it to the clipboard because xdotool -doesn't support printing emoji into some windows +pick one it copies to the clipboard 4 u install it by diff --git a/index.js b/index.js index 7f0a4fe..db5052b 100755 --- a/index.js +++ b/index.js @@ -7,7 +7,6 @@ exec( (error, choice) => { if (error) throw error const emoji = choice.split(' ')[0] - exec(`xdotool type ' ${emoji}'`) exec(`echo -n ${emoji} | xsel -b`) } )