Skip to content

Commit

Permalink
remove dependency on xdotool
Browse files Browse the repository at this point in the history
now it only copies it to the keybread clipbrat
  • Loading branch information
chee committed Mar 13, 2017
1 parent 86fd2ac commit 5a38e59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions README.md
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion index.js
Expand Up @@ -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`)
}
)

0 comments on commit 5a38e59

Please sign in to comment.