From 5a38e59cbc213cbba61d71b0e76195ecf813f6b0 Mon Sep 17 00:00:00 2001 From: chee Date: Mon, 13 Mar 2017 12:28:52 +0000 Subject: [PATCH] remove dependency on xdotool now it only copies it to the keybread clipbrat --- README.md | 6 +----- index.js | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) 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`) } )