Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit yourself for you wrommit yourself
- Loading branch information
0 parents
commit 4bbeb84
Showing
5 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# rofi-emoji | ||
|
||
depends on: | ||
|
||
* xdotool | ||
* rofi | ||
|
||
offers you a list of all the emoji and then when you | ||
pick one it types it into the focused input 4 u | ||
|
||
bind it to a key like | ||
|
||
```ini | ||
[keybindings] | ||
M-S-e = xdotool type $(node path/to/rofi-emoji $(node path/to/rofi-emoji | rofi -dmenu)) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env node | ||
const list = require('emoji.json/emoji-compact.json') | ||
const exec = require('child_process').exec | ||
|
||
console.log( | ||
process.argv[2] | ||
? process.argv[2].split(' ')[0] | ||
: list.data.map(item => `${item[1]} ${item[2].toLowerCase()} (${item[3].replace(/\| /g, '')})`).join('\n') | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "rofi-emoji", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"author": "chee <chee@snake.dog>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"emoji.json": "^1.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
emoji.json: | ||
version "1.2.0" | ||
resolved "https://registry.yarnpkg.com/emoji.json/-/emoji.json-1.2.0.tgz#18bed59f324818907aedc94c440595638f7f25c1" | ||
|