A simple emoji picker for rofi with multi-selection
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913
  1. #!/usr/bin/python3
  2. # -*- coding: utf-8 -*-
  3. import argparse
  4. from subprocess import Popen, PIPE
  5. emoji_list = """😀 grinning face
  6. 😃 grinning face with big eyes
  7. 😄 grinning face with smiling eyes
  8. 😁 beaming face with smiling eyes
  9. 😆 grinning squinting face
  10. 😅 grinning face with sweat
  11. 🤣 rolling on the floor laughing
  12. 😂 face with tears of joy
  13. 🙂 slightly smiling face
  14. 🙃 upside-down face
  15. 😉 winking face
  16. 😊 smiling face with smiling eyes
  17. 😇 smiling face with halo
  18. 🥰 smiling face with hearts
  19. 😍 smiling face with heart-eyes
  20. 🤩 star-struck
  21. 😘 face blowing a kiss
  22. 😗 kissing face
  23. ☺ smiling face
  24. 😚 kissing face with closed eyes
  25. 😙 kissing face with smiling eyes
  26. 😋 face savoring food
  27. 😛 face with tongue
  28. 😜 winking face with tongue
  29. 🤪 zany face
  30. 😝 squinting face with tongue
  31. 🤑 money-mouth face
  32. 🤗 hugging face
  33. 🤭 face with hand over mouth
  34. 🤫 shushing face
  35. 🤔 thinking face
  36. 🤐 zipper-mouth face
  37. 🤨 face with raised eyebrow
  38. 😐 neutral face
  39. 😑 expressionless face
  40. 😶 face without mouth
  41. 😏 smirking face
  42. 😒 unamused face
  43. 🙄 face with rolling eyes
  44. 😬 grimacing face
  45. 🤥 lying face
  46. 😌 relieved face
  47. 😔 pensive face
  48. 😪 sleepy face
  49. 🤤 drooling face
  50. 😴 sleeping face
  51. 😷 face with medical mask
  52. 🤒 face with thermometer
  53. 🤕 face with head-bandage
  54. 🤢 nauseated face
  55. 🤮 face vomiting
  56. 🤧 sneezing face
  57. 🥵 hot face
  58. 🥶 cold face
  59. 🥴 woozy face
  60. 😵 dizzy face
  61. 🤯 exploding head
  62. 🤠 cowboy hat face
  63. 🥳 partying face
  64. 😎 smiling face with sunglasses
  65. 🤓 nerd face
  66. 🧐 face with monocle
  67. 😕 confused face
  68. 😟 worried face
  69. 🙁 slightly frowning face
  70. ☹ frowning face
  71. 😮 face with open mouth
  72. 😯 hushed face
  73. 😲 astonished face
  74. 😳 flushed face
  75. 🥺 pleading face
  76. 😦 frowning face with open mouth
  77. 😧 anguished face
  78. 😨 fearful face
  79. 😰 anxious face with sweat
  80. 😥 sad but relieved face
  81. 😢 crying face
  82. 😭 loudly crying face
  83. 😱 face screaming in fear
  84. 😖 confounded face
  85. 😣 persevering face
  86. 😞 disappointed face
  87. 😓 downcast face with sweat
  88. 😩 weary face
  89. 😫 tired face
  90. 🥱 yawning face
  91. 😤 face with steam from nose
  92. 😡 pouting face
  93. 😠 angry face
  94. 🤬 face with symbols on mouth
  95. 😈 smiling face with horns
  96. 👿 angry face with horns
  97. 💀 skull
  98. ☠ skull and crossbones
  99. 💩 pile of poo
  100. 🤡 clown face
  101. 👹 ogre
  102. 👺 goblin
  103. 👻 ghost
  104. 👽 alien
  105. 👾 alien monster
  106. 🤖 robot
  107. 😺 grinning cat
  108. 😸 grinning cat with smiling eyes
  109. 😹 cat with tears of joy
  110. 😻 smiling cat with heart-eyes
  111. 😼 cat with wry smile
  112. 😽 kissing cat
  113. 🙀 weary cat
  114. 😿 crying cat
  115. 😾 pouting cat
  116. 🙈 see-no-evil monkey
  117. 🙉 hear-no-evil monkey
  118. 🙊 speak-no-evil monkey
  119. 💋 kiss mark
  120. 💌 love letter
  121. 💘 heart with arrow
  122. 💝 heart with ribbon
  123. 💖 sparkling heart
  124. 💗 growing heart
  125. 💓 beating heart
  126. 💞 revolving hearts
  127. 💕 two hearts
  128. 💟 heart decoration
  129. ❣ heart exclamation
  130. 💔 broken heart
  131. ❤ red heart
  132. 🧡 orange heart
  133. 💛 yellow heart
  134. 💚 green heart
  135. 💙 blue heart
  136. 💜 purple heart
  137. 🤎 brown heart
  138. 🖤 black heart
  139. 🤍 white heart
  140. 💯 hundred points
  141. 💢 anger symbol
  142. 💥 collision
  143. 💫 dizzy
  144. 💦 sweat droplets
  145. 💨 dashing away
  146. 🕳 hole
  147. 💣 bomb
  148. 💬 speech balloon
  149. 👁️‍🗨️ eye in speech bubble
  150. 🗨 left speech bubble
  151. 🗯 right anger bubble
  152. 💭 thought balloon
  153. 💤 zzz
  154. 👋 waving hand
  155. 🤚 raised back of hand
  156. 🖐 hand with fingers splayed
  157. ✋ raised hand
  158. 🖖 vulcan salute
  159. 👌 OK hand
  160. 🤏 pinching hand
  161. ✌ victory hand
  162. 🤞 crossed fingers
  163. 🤟 love-you gesture
  164. 🤘 sign of the horns
  165. 🤙 call me hand
  166. 👈 backhand index pointing left
  167. 👉 backhand index pointing right
  168. 👆 backhand index pointing up
  169. 🖕 middle finger
  170. 👇 backhand index pointing down
  171. ☝ index pointing up
  172. 👍 thumbs up
  173. 👎 thumbs down
  174. ✊ raised fist
  175. 👊 oncoming fist
  176. 🤛 left-facing fist
  177. 🤜 right-facing fist
  178. 👏 clapping hands
  179. 🙌 raising hands
  180. 👐 open hands
  181. 🤲 palms up together
  182. 🤝 handshake
  183. 🙏 folded hands
  184. ✍ writing hand
  185. 💅 nail polish
  186. 🤳 selfie
  187. 💪 flexed biceps
  188. 🦾 mechanical arm
  189. 🦿 mechanical leg
  190. 🦵 leg
  191. 🦶 foot
  192. 👂 ear
  193. 🦻 ear with hearing aid
  194. 👃 nose
  195. 🧠 brain
  196. 🦷 tooth
  197. 🦴 bone
  198. 👀 eyes
  199. 👁 eye
  200. 👅 tongue
  201. 👄 mouth
  202. 👶 baby
  203. 🧒 child
  204. 👦 boy
  205. 👧 girl
  206. 🧑 person
  207. 👱 person: blond hair
  208. 👨 man
  209. 🧔 man: beard
  210. 👱‍♂️ man: blond hair
  211. 👨‍🦰 man: red hair
  212. 👨‍🦱 man: curly hair
  213. 👨‍🦳 man: white hair
  214. 👨‍🦲 man: bald
  215. 👩 woman
  216. 👱‍♀️ woman: blond hair
  217. 👩‍🦰 woman: red hair
  218. 👩‍🦱 woman: curly hair
  219. 👩‍🦳 woman: white hair
  220. 👩‍🦲 woman: bald
  221. 🧓 older person
  222. 👴 old man
  223. 👵 old woman
  224. 🙍 person frowning
  225. 🙍‍♂️ man frowning
  226. 🙍‍♀️ woman frowning
  227. 🙎 person pouting
  228. 🙎‍♂️ man pouting
  229. 🙎‍♀️ woman pouting
  230. 🙅 person gesturing NO
  231. 🙅‍♂️ man gesturing NO
  232. 🙅‍♀️ woman gesturing NO
  233. 🙆 person gesturing OK
  234. 🙆‍♂️ man gesturing OK
  235. 🙆‍♀️ woman gesturing OK
  236. 💁 person tipping hand
  237. 💁‍♂️ man tipping hand
  238. 💁‍♀️ woman tipping hand
  239. 🙋 person raising hand
  240. 🙋‍♂️ man raising hand
  241. 🙋‍♀️ woman raising hand
  242. 🧏 deaf person
  243. 🧏‍♂️ deaf man
  244. 🧏‍♀️ deaf woman
  245. 🙇 person bowing
  246. 🙇‍♂️ man bowing
  247. 🙇‍♀️ woman bowing
  248. 🤦 person facepalming
  249. 🤦‍♂️ man facepalming
  250. 🤦‍♀️ woman facepalming
  251. 🤷 person shrugging
  252. 🤷‍♂️ man shrugging
  253. 🤷‍♀️ woman shrugging
  254. 👨‍⚕️ man health worker
  255. 👩‍⚕️ woman health worker
  256. 👨‍🎓 man student
  257. 👩‍🎓 woman student
  258. 👨‍🏫 man teacher
  259. 👩‍🏫 woman teacher
  260. 👨‍⚖️ man judge
  261. 👩‍⚖️ woman judge
  262. 👨‍🌾 man farmer
  263. 👩‍🌾 woman farmer
  264. 👨‍🍳 man cook
  265. 👩‍🍳 woman cook
  266. 👨‍🔧 man mechanic
  267. 👩‍🔧 woman mechanic
  268. 👨‍🏭 man factory worker
  269. 👩‍🏭 woman factory worker
  270. 👨‍💼 man office worker
  271. 👩‍💼 woman office worker
  272. 👨‍🔬 man scientist
  273. 👩‍🔬 woman scientist
  274. 👨‍💻 man technologist
  275. 👩‍💻 woman technologist
  276. 👨‍🎤 man singer
  277. 👩‍🎤 woman singer
  278. 👨‍🎨 man artist
  279. 👩‍🎨 woman artist
  280. 👨‍✈️ man pilot
  281. 👩‍✈️ woman pilot
  282. 👨‍🚀 man astronaut
  283. 👩‍🚀 woman astronaut
  284. 👨‍🚒 man firefighter
  285. 👩‍🚒 woman firefighter
  286. 👮 police officer
  287. 👮‍♂️ man police officer
  288. 👮‍♀️ woman police officer
  289. 🕵 detective
  290. 🕵️‍♂️ man detective
  291. 🕵️‍♀️ woman detective
  292. 💂 guard
  293. 💂‍♂️ man guard
  294. 💂‍♀️ woman guard
  295. 👷 construction worker
  296. 👷‍♂️ man construction worker
  297. 👷‍♀️ woman construction worker
  298. 🤴 prince
  299. 👸 princess
  300. 👳 person wearing turban
  301. 👳‍♂️ man wearing turban
  302. 👳‍♀️ woman wearing turban
  303. 👲 man with Chinese cap
  304. 🧕 woman with headscarf
  305. 🤵 man in tuxedo
  306. 👰 bride with veil
  307. 🤰 pregnant woman
  308. 🤱 breast-feeding
  309. 👼 baby angel
  310. 🎅 Santa Claus
  311. 🤶 Mrs. Claus
  312. 🦸 superhero
  313. 🦸‍♂️ man superhero
  314. 🦸‍♀️ woman superhero
  315. 🦹 supervillain
  316. 🦹‍♂️ man supervillain
  317. 🦹‍♀️ woman supervillain
  318. 🧙 mage
  319. 🧙‍♂️ man mage
  320. 🧙‍♀️ woman mage
  321. 🧚 fairy
  322. 🧚‍♂️ man fairy
  323. 🧚‍♀️ woman fairy
  324. 🧛 vampire
  325. 🧛‍♂️ man vampire
  326. 🧛‍♀️ woman vampire
  327. 🧜 merperson
  328. 🧜‍♂️ merman
  329. 🧜‍♀️ mermaid
  330. 🧝 elf
  331. 🧝‍♂️ man elf
  332. 🧝‍♀️ woman elf
  333. 🧞 genie
  334. 🧞‍♂️ man genie
  335. 🧞‍♀️ woman genie
  336. 🧟 zombie
  337. 🧟‍♂️ man zombie
  338. 🧟‍♀️ woman zombie
  339. 💆 person getting massage
  340. 💆‍♂️ man getting massage
  341. 💆‍♀️ woman getting massage
  342. 💇 person getting haircut
  343. 💇‍♂️ man getting haircut
  344. 💇‍♀️ woman getting haircut
  345. 🚶 person walking
  346. 🚶‍♂️ man walking
  347. 🚶‍♀️ woman walking
  348. 🧍 person standing
  349. 🧍‍♂️ man standing
  350. 🧍‍♀️ woman standing
  351. 🧎 person kneeling
  352. 🧎‍♂️ man kneeling
  353. 🧎‍♀️ woman kneeling
  354. 👨‍🦯 man with probing cane
  355. 👩‍🦯 woman with probing cane
  356. 👨‍🦼 man in motorized wheelchair
  357. 👩‍🦼 woman in motorized wheelchair
  358. 👨‍🦽 man in manual wheelchair
  359. 👩‍🦽 woman in manual wheelchair
  360. 🏃 person running
  361. 🏃‍♂️ man running
  362. 🏃‍♀️ woman running
  363. 💃 woman dancing
  364. 🕺 man dancing
  365. 🕴 man in suit levitating
  366. 👯 people with bunny ears
  367. 👯‍♂️ men with bunny ears
  368. 👯‍♀️ women with bunny ears
  369. 🧖 person in steamy room
  370. 🧖‍♂️ man in steamy room
  371. 🧖‍♀️ woman in steamy room
  372. 🧗 person climbing
  373. 🧗‍♂️ man climbing
  374. 🧗‍♀️ woman climbing
  375. 🤺 person fencing
  376. 🏇 horse racing
  377. ⛷ skier
  378. 🏂 snowboarder
  379. 🏌 person golfing
  380. 🏌️‍♂️ man golfing
  381. 🏌️‍♀️ woman golfing
  382. 🏄 person surfing
  383. 🏄‍♂️ man surfing
  384. 🏄‍♀️ woman surfing
  385. 🚣 person rowing boat
  386. 🚣‍♂️ man rowing boat
  387. 🚣‍♀️ woman rowing boat
  388. 🏊 person swimming
  389. 🏊‍♂️ man swimming
  390. 🏊‍♀️ woman swimming
  391. ⛹ person bouncing ball
  392. ⛹️‍♂️ man bouncing ball
  393. ⛹️‍♀️ woman bouncing ball
  394. 🏋 person lifting weights
  395. 🏋️‍♂️ man lifting weights
  396. 🏋️‍♀️ woman lifting weights
  397. 🚴 person biking
  398. 🚴‍♂️ man biking
  399. 🚴‍♀️ woman biking
  400. 🚵 person mountain biking
  401. 🚵‍♂️ man mountain biking
  402. 🚵‍♀️ woman mountain biking
  403. 🤸 person cartwheeling
  404. 🤸‍♂️ man cartwheeling
  405. 🤸‍♀️ woman cartwheeling
  406. 🤼 people wrestling
  407. 🤼‍♂️ men wrestling
  408. 🤼‍♀️ women wrestling
  409. 🤽 person playing water polo
  410. 🤽‍♂️ man playing water polo
  411. 🤽‍♀️ woman playing water polo
  412. 🤾 person playing handball
  413. 🤾‍♂️ man playing handball
  414. 🤾‍♀️ woman playing handball
  415. 🤹 person juggling
  416. 🤹‍♂️ man juggling
  417. 🤹‍♀️ woman juggling
  418. 🧘 person in lotus position
  419. 🧘‍♂️ man in lotus position
  420. 🧘‍♀️ woman in lotus position
  421. 🛀 person taking bath
  422. 🛌 person in bed
  423. 🧑‍🤝‍🧑 people holding hands
  424. 👭 women holding hands
  425. 👫 woman and man holding hands
  426. 👬 men holding hands
  427. 💏 kiss
  428. 👩‍❤️‍💋‍👨 kiss: woman, man
  429. 👨‍❤️‍💋‍👨 kiss: man, man
  430. 👩‍❤️‍💋‍👩 kiss: woman, woman
  431. 💑 couple with heart
  432. 👩‍❤️‍👨 couple with heart: woman, man
  433. 👨‍❤️‍👨 couple with heart: man, man
  434. 👩‍❤️‍👩 couple with heart: woman, woman
  435. 👪 family
  436. 👨‍👩‍👦 family: man, woman, boy
  437. 👨‍👩‍👧 family: man, woman, girl
  438. 👨‍👩‍👧‍👦 family: man, woman, girl, boy
  439. 👨‍👩‍👦‍👦 family: man, woman, boy, boy
  440. 👨‍👩‍👧‍👧 family: man, woman, girl, girl
  441. 👨‍👨‍👦 family: man, man, boy
  442. 👨‍👨‍👧 family: man, man, girl
  443. 👨‍👨‍👧‍👦 family: man, man, girl, boy
  444. 👨‍👨‍👦‍👦 family: man, man, boy, boy
  445. 👨‍👨‍👧‍👧 family: man, man, girl, girl
  446. 👩‍👩‍👦 family: woman, woman, boy
  447. 👩‍👩‍👧 family: woman, woman, girl
  448. 👩‍👩‍👧‍👦 family: woman, woman, girl, boy
  449. 👩‍👩‍👦‍👦 family: woman, woman, boy, boy
  450. 👩‍👩‍👧‍👧 family: woman, woman, girl, girl
  451. 👨‍👦 family: man, boy
  452. 👨‍👦‍👦 family: man, boy, boy
  453. 👨‍👧 family: man, girl
  454. 👨‍👧‍👦 family: man, girl, boy
  455. 👨‍👧‍👧 family: man, girl, girl
  456. 👩‍👦 family: woman, boy
  457. 👩‍👦‍👦 family: woman, boy, boy
  458. 👩‍👧 family: woman, girl
  459. 👩‍👧‍👦 family: woman, girl, boy
  460. 👩‍👧‍👧 family: woman, girl, girl
  461. 🗣 speaking head
  462. 👤 bust in silhouette
  463. 👥 busts in silhouette
  464. 👣 footprints
  465. 🦰 red hair
  466. 🦱 curly hair
  467. 🦳 white hair
  468. 🦲 bald
  469. 🐵 monkey face
  470. 🐒 monkey
  471. 🦍 gorilla
  472. 🦧 orangutan
  473. 🐶 dog face
  474. 🐕 dog
  475. 🦮 guide dog
  476. 🐕‍🦺 service dog
  477. 🐩 poodle
  478. 🐺 wolf
  479. 🦊 fox
  480. 🦝 raccoon
  481. 🐱 cat face
  482. 🐈 cat
  483. 🦁 lion
  484. 🐯 tiger face
  485. 🐅 tiger
  486. 🐆 leopard
  487. 🐴 horse face
  488. 🐎 horse
  489. 🦄 unicorn
  490. 🦓 zebra
  491. 🦌 deer
  492. 🐮 cow face
  493. 🐂 ox
  494. 🐃 water buffalo
  495. 🐄 cow
  496. 🐷 pig face
  497. 🐖 pig
  498. 🐗 boar
  499. 🐽 pig nose
  500. 🐏 ram
  501. 🐑 ewe
  502. 🐐 goat
  503. 🐪 camel
  504. 🐫 two-hump camel
  505. 🦙 llama
  506. 🦒 giraffe
  507. 🐘 elephant
  508. 🦏 rhinoceros
  509. 🦛 hippopotamus
  510. 🐭 mouse face
  511. 🐁 mouse
  512. 🐀 rat
  513. 🐹 hamster
  514. 🐰 rabbit face
  515. 🐇 rabbit
  516. 🐿 chipmunk
  517. 🦔 hedgehog
  518. 🦇 bat
  519. 🐻 bear
  520. 🐨 koala
  521. 🐼 panda
  522. 🦥 sloth
  523. 🦦 otter
  524. 🦨 skunk
  525. 🦘 kangaroo
  526. 🦡 badger
  527. 🐾 paw prints
  528. 🦃 turkey
  529. 🐔 chicken
  530. 🐓 rooster
  531. 🐣 hatching chick
  532. 🐤 baby chick
  533. 🐥 front-facing baby chick
  534. 🐦 bird
  535. 🐧 penguin
  536. 🕊 dove
  537. 🦅 eagle
  538. 🦆 duck
  539. 🦢 swan
  540. 🦉 owl
  541. 🦩 flamingo
  542. 🦚 peacock
  543. 🦜 parrot
  544. 🐸 frog
  545. 🐊 crocodile
  546. 🐢 turtle
  547. 🦎 lizard
  548. 🐍 snake
  549. 🐲 dragon face
  550. 🐉 dragon
  551. 🦕 sauropod
  552. 🦖 T-Rex
  553. 🐳 spouting whale
  554. 🐋 whale
  555. 🐬 dolphin
  556. 🐟 fish
  557. 🐠 tropical fish
  558. 🐡 blowfish
  559. 🦈 shark
  560. 🐙 octopus
  561. 🐚 spiral shell
  562. 🐌 snail
  563. 🦋 butterfly
  564. 🐛 bug
  565. 🐜 ant
  566. 🐝 honeybee
  567. 🐞 lady beetle
  568. 🦗 cricket
  569. 🕷 spider
  570. 🕸 spider web
  571. 🦂 scorpion
  572. 🦟 mosquito
  573. 🦠 microbe
  574. 💐 bouquet
  575. 🌸 cherry blossom
  576. 💮 white flower
  577. 🏵 rosette
  578. 🌹 rose
  579. 🥀 wilted flower
  580. 🌺 hibiscus
  581. 🌻 sunflower
  582. 🌼 blossom
  583. 🌷 tulip
  584. 🌱 seedling
  585. 🌲 evergreen tree
  586. 🌳 deciduous tree
  587. 🌴 palm tree
  588. 🌵 cactus
  589. 🌾 sheaf of rice
  590. 🌿 herb
  591. ☘ shamrock
  592. 🍀 four leaf clover
  593. 🍁 maple leaf
  594. 🍂 fallen leaf
  595. 🍃 leaf fluttering in wind
  596. 🍇 grapes
  597. 🍈 melon
  598. 🍉 watermelon
  599. 🍊 tangerine
  600. 🍋 lemon
  601. 🍌 banana
  602. 🍍 pineapple
  603. 🥭 mango
  604. 🍎 red apple
  605. 🍏 green apple
  606. 🍐 pear
  607. 🍑 peach
  608. 🍒 cherries
  609. 🍓 strawberry
  610. 🥝 kiwi fruit
  611. 🍅 tomato
  612. 🥥 coconut
  613. 🥑 avocado
  614. 🍆 eggplant
  615. 🥔 potato
  616. 🥕 carrot
  617. 🌽 ear of corn
  618. 🌶 hot pepper
  619. 🥒 cucumber
  620. 🥬 leafy green
  621. 🥦 broccoli
  622. 🧄 garlic
  623. 🧅 onion
  624. 🍄 mushroom
  625. 🥜 peanuts
  626. 🌰 chestnut
  627. 🍞 bread
  628. 🥐 croissant
  629. 🥖 baguette bread
  630. 🥨 pretzel
  631. 🥯 bagel
  632. 🥞 pancakes
  633. 🧇 waffle
  634. 🧀 cheese wedge
  635. 🍖 meat on bone
  636. 🍗 poultry leg
  637. 🥩 cut of meat
  638. 🥓 bacon
  639. 🍔 hamburger
  640. 🍟 french fries
  641. 🍕 pizza
  642. 🌭 hot dog
  643. 🥪 sandwich
  644. 🌮 taco
  645. 🌯 burrito
  646. 🥙 stuffed flatbread
  647. 🧆 falafel
  648. 🥚 egg
  649. 🍳 cooking
  650. 🥘 shallow pan of food
  651. 🍲 pot of food
  652. 🥣 bowl with spoon
  653. 🥗 green salad
  654. 🍿 popcorn
  655. 🧈 butter
  656. 🧂 salt
  657. 🥫 canned food
  658. 🍱 bento box
  659. 🍘 rice cracker
  660. 🍙 rice ball
  661. 🍚 cooked rice
  662. 🍛 curry rice
  663. 🍜 steaming bowl
  664. 🍝 spaghetti
  665. 🍠 roasted sweet potato
  666. 🍢 oden
  667. 🍣 sushi
  668. 🍤 fried shrimp
  669. 🍥 fish cake with swirl
  670. 🥮 moon cake
  671. 🍡 dango
  672. 🥟 dumpling
  673. 🥠 fortune cookie
  674. 🥡 takeout box
  675. 🦀 crab
  676. 🦞 lobster
  677. 🦐 shrimp
  678. 🦑 squid
  679. 🦪 oyster
  680. 🍦 soft ice cream
  681. 🍧 shaved ice
  682. 🍨 ice cream
  683. 🍩 doughnut
  684. 🍪 cookie
  685. 🎂 birthday cake
  686. 🍰 shortcake
  687. 🧁 cupcake
  688. 🥧 pie
  689. 🍫 chocolate bar
  690. 🍬 candy
  691. 🍭 lollipop
  692. 🍮 custard
  693. 🍯 honey pot
  694. 🍼 baby bottle
  695. 🥛 glass of milk
  696. ☕ hot beverage
  697. 🍵 teacup without handle
  698. 🍶 sake
  699. 🍾 bottle with popping cork
  700. 🍷 wine glass
  701. 🍸 cocktail glass
  702. 🍹 tropical drink
  703. 🍺 beer mug
  704. 🍻 clinking beer mugs
  705. 🥂 clinking glasses
  706. 🥃 tumbler glass
  707. 🥤 cup with straw
  708. 🧃 beverage box
  709. 🧉 mate
  710. 🧊 ice cube
  711. 🥢 chopsticks
  712. 🍽 fork and knife with plate
  713. 🍴 fork and knife
  714. 🥄 spoon
  715. 🔪 kitchen knife
  716. 🏺 amphora
  717. 🌍 globe showing Europe-Africa
  718. 🌎 globe showing Americas
  719. 🌏 globe showing Asia-Australia
  720. 🌐 globe with meridians
  721. 🗺 world map
  722. 🗾 map of Japan
  723. 🧭 compass
  724. 🏔 snow-capped mountain
  725. ⛰ mountain
  726. 🌋 volcano
  727. 🗻 mount fuji
  728. 🏕 camping
  729. 🏖 beach with umbrella
  730. 🏜 desert
  731. 🏝 desert island
  732. 🏞 national park
  733. 🏟 stadium
  734. 🏛 classical building
  735. 🏗 building construction
  736. 🧱 brick
  737. 🏘 houses
  738. 🏚 derelict house
  739. 🏠 house
  740. 🏡 house with garden
  741. 🏢 office building
  742. 🏣 Japanese post office
  743. 🏤 post office
  744. 🏥 hospital
  745. 🏦 bank
  746. 🏨 hotel
  747. 🏩 love hotel
  748. 🏪 convenience store
  749. 🏫 school
  750. 🏬 department store
  751. 🏭 factory
  752. 🏯 Japanese castle
  753. 🏰 castle
  754. 💒 wedding
  755. 🗼 Tokyo tower
  756. 🗽 Statue of Liberty
  757. ⛪ church
  758. 🕌 mosque
  759. 🛕 hindu temple
  760. 🕍 synagogue
  761. ⛩ shinto shrine
  762. 🕋 kaaba
  763. ⛲ fountain
  764. ⛺ tent
  765. 🌁 foggy
  766. 🌃 night with stars
  767. 🏙 cityscape
  768. 🌄 sunrise over mountains
  769. 🌅 sunrise
  770. 🌆 cityscape at dusk
  771. 🌇 sunset
  772. 🌉 bridge at night
  773. ♨ hot springs
  774. 🎠 carousel horse
  775. 🎡 ferris wheel
  776. 🎢 roller coaster
  777. 💈 barber pole
  778. 🎪 circus tent
  779. 🚂 locomotive
  780. 🚃 railway car
  781. 🚄 high-speed train
  782. 🚅 bullet train
  783. 🚆 train
  784. 🚇 metro
  785. 🚈 light rail
  786. 🚉 station
  787. 🚊 tram
  788. 🚝 monorail
  789. 🚞 mountain railway
  790. 🚋 tram car
  791. 🚌 bus
  792. 🚍 oncoming bus
  793. 🚎 trolleybus
  794. 🚐 minibus
  795. 🚑 ambulance
  796. 🚒 fire engine
  797. 🚓 police car
  798. 🚔 oncoming police car
  799. 🚕 taxi
  800. 🚖 oncoming taxi
  801. 🚗 automobile
  802. 🚘 oncoming automobile
  803. 🚙 sport utility vehicle
  804. 🚚 delivery truck
  805. 🚛 articulated lorry
  806. 🚜 tractor
  807. 🏎 racing car
  808. 🏍 motorcycle
  809. 🛵 motor scooter
  810. 🦽 manual wheelchair
  811. 🦼 motorized wheelchair
  812. 🛺 auto rickshaw
  813. 🚲 bicycle
  814. 🛴 kick scooter
  815. 🛹 skateboard
  816. 🚏 bus stop
  817. 🛣 motorway
  818. 🛤 railway track
  819. 🛢 oil drum
  820. ⛽ fuel pump
  821. 🚨 police car light
  822. 🚥 horizontal traffic light
  823. 🚦 vertical traffic light
  824. 🛑 stop sign
  825. 🚧 construction
  826. ⚓ anchor
  827. ⛵ sailboat
  828. 🛶 canoe
  829. 🚤 speedboat
  830. 🛳 passenger ship
  831. ⛴ ferry
  832. 🛥 motor boat
  833. 🚢 ship
  834. ✈ airplane
  835. 🛩 small airplane
  836. 🛫 airplane departure
  837. 🛬 airplane arrival
  838. 🪂 parachute
  839. 💺 seat
  840. 🚁 helicopter
  841. 🚟 suspension railway
  842. 🚠 mountain cableway
  843. 🚡 aerial tramway
  844. 🛰 satellite
  845. 🚀 rocket
  846. 🛸 flying saucer
  847. 🛎 bellhop bell
  848. 🧳 luggage
  849. ⌛ hourglass done
  850. ⏳ hourglass not done
  851. ⌚ watch
  852. ⏰ alarm clock
  853. ⏱ stopwatch
  854. ⏲ timer clock
  855. 🕰 mantelpiece clock
  856. 🕛 twelve o’clock
  857. 🕧 twelve-thirty
  858. 🕐 one o’clock
  859. 🕜 one-thirty
  860. 🕑 two o’clock
  861. 🕝 two-thirty
  862. 🕒 three o’clock
  863. 🕞 three-thirty
  864. 🕓 four o’clock
  865. 🕟 four-thirty
  866. 🕔 five o’clock
  867. 🕠 five-thirty
  868. 🕕 six o’clock
  869. 🕡 six-thirty
  870. 🕖 seven o’clock
  871. 🕢 seven-thirty
  872. 🕗 eight o’clock
  873. 🕣 eight-thirty
  874. 🕘 nine o’clock
  875. 🕤 nine-thirty
  876. 🕙 ten o’clock
  877. 🕥 ten-thirty
  878. 🕚 eleven o’clock
  879. 🕦 eleven-thirty
  880. 🌑 new moon
  881. 🌒 waxing crescent moon
  882. 🌓 first quarter moon
  883. 🌔 waxing gibbous moon
  884. 🌕 full moon
  885. 🌖 waning gibbous moon
  886. 🌗 last quarter moon
  887. 🌘 waning crescent moon
  888. 🌙 crescent moon
  889. 🌚 new moon face
  890. 🌛 first quarter moon face
  891. 🌜 last quarter moon face
  892. 🌡 thermometer
  893. ☀ sun
  894. 🌝 full moon face
  895. 🌞 sun with face
  896. 🪐 ringed planet
  897. ⭐ star
  898. 🌟 glowing star
  899. 🌠 shooting star
  900. 🌌 milky way
  901. ☁ cloud
  902. ⛅ sun behind cloud
  903. ⛈ cloud with lightning and rain
  904. 🌤 sun behind small cloud
  905. 🌥 sun behind large cloud
  906. 🌦 sun behind rain cloud
  907. 🌧 cloud with rain
  908. 🌨 cloud with snow
  909. 🌩 cloud with lightning
  910. 🌪 tornado
  911. 🌫 fog
  912. 🌬 wind face
  913. 🌀 cyclone
  914. 🌈 rainbow
  915. 🌂 closed umbrella
  916. ☂ umbrella
  917. ☔ umbrella with rain drops
  918. ⛱ umbrella on ground
  919. ⚡ high voltage
  920. ❄ snowflake
  921. ☃ snowman
  922. ⛄ snowman without snow
  923. ☄ comet
  924. 🔥 fire
  925. 💧 droplet
  926. 🌊 water wave
  927. 🎃 jack-o-lantern
  928. 🎄 Christmas tree
  929. 🎆 fireworks
  930. 🎇 sparkler
  931. 🧨 firecracker
  932. ✨ sparkles
  933. 🎈 balloon
  934. 🎉 party popper
  935. 🎊 confetti ball
  936. 🎋 tanabata tree
  937. 🎍 pine decoration
  938. 🎎 Japanese dolls
  939. 🎏 carp streamer
  940. 🎐 wind chime
  941. 🎑 moon viewing ceremony
  942. 🧧 red envelope
  943. 🎀 ribbon
  944. 🎁 wrapped gift
  945. 🎗 reminder ribbon
  946. 🎟 admission tickets
  947. 🎫 ticket
  948. 🎖 military medal
  949. 🏆 trophy
  950. 🏅 sports medal
  951. 🥇 1st place medal
  952. 🥈 2nd place medal
  953. 🥉 3rd place medal
  954. ⚽ soccer ball
  955. ⚾ baseball
  956. 🥎 softball
  957. 🏀 basketball
  958. 🏐 volleyball
  959. 🏈 american football
  960. 🏉 rugby football
  961. 🎾 tennis
  962. 🥏 flying disc
  963. 🎳 bowling
  964. 🏏 cricket game
  965. 🏑 field hockey
  966. 🏒 ice hockey
  967. 🥍 lacrosse
  968. 🏓 ping pong
  969. 🏸 badminton
  970. 🥊 boxing glove
  971. 🥋 martial arts uniform
  972. 🥅 goal net
  973. ⛳ flag in hole
  974. ⛸ ice skate
  975. 🎣 fishing pole
  976. 🤿 diving mask
  977. 🎽 running shirt
  978. 🎿 skis
  979. 🛷 sled
  980. 🥌 curling stone
  981. 🎯 direct hit
  982. 🪀 yo-yo
  983. 🪁 kite
  984. 🎱 pool 8 ball
  985. 🔮 crystal ball
  986. 🧿 nazar amulet
  987. 🎮 video game
  988. 🕹 joystick
  989. 🎰 slot machine
  990. 🎲 game die
  991. 🧩 puzzle piece
  992. 🧸 teddy bear
  993. ♠ spade suit
  994. ♥ heart suit
  995. ♦ diamond suit
  996. ♣ club suit
  997. ♟ chess pawn
  998. 🃏 joker
  999. 🀄 mahjong red dragon
  1000. 🎴 flower playing cards
  1001. 🎭 performing arts
  1002. 🖼 framed picture
  1003. 🎨 artist palette
  1004. 🧵 thread
  1005. 🧶 yarn
  1006. 👓 glasses
  1007. 🕶 sunglasses
  1008. 🥽 goggles
  1009. 🥼 lab coat
  1010. 🦺 safety vest
  1011. 👔 necktie
  1012. 👕 t-shirt
  1013. 👖 jeans
  1014. 🧣 scarf
  1015. 🧤 gloves
  1016. 🧥 coat
  1017. 🧦 socks
  1018. 👗 dress
  1019. 👘 kimono
  1020. 🥻 sari
  1021. 🩱 one-piece swimsuit
  1022. 🩲 briefs
  1023. 🩳 shorts
  1024. 👙 bikini
  1025. 👚 woman’s clothes
  1026. 👛 purse
  1027. 👜 handbag
  1028. 👝 clutch bag
  1029. 🛍 shopping bags
  1030. 🎒 backpack
  1031. 👞 man’s shoe
  1032. 👟 running shoe
  1033. 🥾 hiking boot
  1034. 🥿 flat shoe
  1035. 👠 high-heeled shoe
  1036. 👡 woman’s sandal
  1037. 🩰 ballet shoes
  1038. 👢 woman’s boot
  1039. 👑 crown
  1040. 👒 woman’s hat
  1041. 🎩 top hat
  1042. 🎓 graduation cap
  1043. 🧢 billed cap
  1044. ⛑ rescue worker’s helmet
  1045. 📿 prayer beads
  1046. 💄 lipstick
  1047. 💍 ring
  1048. 💎 gem stone
  1049. 🔇 muted speaker
  1050. 🔈 speaker low volume
  1051. 🔉 speaker medium volume
  1052. 🔊 speaker high volume
  1053. 📢 loudspeaker
  1054. 📣 megaphone
  1055. 📯 postal horn
  1056. 🔔 bell
  1057. 🔕 bell with slash
  1058. 🎼 musical score
  1059. 🎵 musical note
  1060. 🎶 musical notes
  1061. 🎙 studio microphone
  1062. 🎚 level slider
  1063. 🎛 control knobs
  1064. 🎤 microphone
  1065. 🎧 headphone
  1066. 📻 radio
  1067. 🎷 saxophone
  1068. 🎸 guitar
  1069. 🎹 musical keyboard
  1070. 🎺 trumpet
  1071. 🎻 violin
  1072. 🪕 banjo
  1073. 🥁 drum
  1074. 📱 mobile phone
  1075. 📲 mobile phone with arrow
  1076. ☎ telephone
  1077. 📞 telephone receiver
  1078. 📟 pager
  1079. 📠 fax machine
  1080. 🔋 battery
  1081. 🔌 electric plug
  1082. 💻 laptop computer
  1083. 🖥 desktop computer
  1084. 🖨 printer
  1085. ⌨ keyboard
  1086. 🖱 computer mouse
  1087. 🖲 trackball
  1088. 💽 computer disk
  1089. 💾 floppy disk
  1090. 💿 optical disk
  1091. 📀 dvd
  1092. 🧮 abacus
  1093. 🎥 movie camera
  1094. 🎞 film frames
  1095. 📽 film projector
  1096. 🎬 clapper board
  1097. 📺 television
  1098. 📷 camera
  1099. 📸 camera with flash
  1100. 📹 video camera
  1101. 📼 videocassette
  1102. 🔍 magnifying glass tilted left
  1103. 🔎 magnifying glass tilted right
  1104. 🕯 candle
  1105. 💡 light bulb
  1106. 🔦 flashlight
  1107. 🏮 red paper lantern
  1108. 🪔 diya lamp
  1109. 📔 notebook with decorative cover
  1110. 📕 closed book
  1111. 📖 open book
  1112. 📗 green book
  1113. 📘 blue book
  1114. 📙 orange book
  1115. 📚 books
  1116. 📓 notebook
  1117. 📒 ledger
  1118. 📃 page with curl
  1119. 📜 scroll
  1120. 📄 page facing up
  1121. 📰 newspaper
  1122. 🗞 rolled-up newspaper
  1123. 📑 bookmark tabs
  1124. 🔖 bookmark
  1125. 🏷 label
  1126. 💰 money bag
  1127. 💴 yen banknote
  1128. 💵 dollar banknote
  1129. 💶 euro banknote
  1130. 💷 pound banknote
  1131. 💸 money with wings
  1132. 💳 credit card
  1133. 🧾 receipt
  1134. 💹 chart increasing with yen
  1135. 💱 currency exchange
  1136. 💲 heavy dollar sign
  1137. ✉ envelope
  1138. 📧 e-mail
  1139. 📨 incoming envelope
  1140. 📩 envelope with arrow
  1141. 📤 outbox tray
  1142. 📥 inbox tray
  1143. 📦 package
  1144. 📫 closed mailbox with raised flag
  1145. 📪 closed mailbox with lowered flag
  1146. 📬 open mailbox with raised flag
  1147. 📭 open mailbox with lowered flag
  1148. 📮 postbox
  1149. 🗳 ballot box with ballot
  1150. ✏ pencil
  1151. ✒ black nib
  1152. 🖋 fountain pen
  1153. 🖊 pen
  1154. 🖌 paintbrush
  1155. 🖍 crayon
  1156. 📝 memo
  1157. 💼 briefcase
  1158. 📁 file folder
  1159. 📂 open file folder
  1160. 🗂 card index dividers
  1161. 📅 calendar
  1162. 📆 tear-off calendar
  1163. 🗒 spiral notepad
  1164. 🗓 spiral calendar
  1165. 📇 card index
  1166. 📈 chart increasing
  1167. 📉 chart decreasing
  1168. 📊 bar chart
  1169. 📋 clipboard
  1170. 📌 pushpin
  1171. 📍 round pushpin
  1172. 📎 paperclip
  1173. 🖇 linked paperclips
  1174. 📏 straight ruler
  1175. 📐 triangular ruler
  1176. ✂ scissors
  1177. 🗃 card file box
  1178. 🗄 file cabinet
  1179. 🗑 wastebasket
  1180. 🔒 locked
  1181. 🔓 unlocked
  1182. 🔏 locked with pen
  1183. 🔐 locked with key
  1184. 🔑 key
  1185. 🗝 old key
  1186. 🔨 hammer
  1187. 🪓 axe
  1188. ⛏ pick
  1189. ⚒ hammer and pick
  1190. 🛠 hammer and wrench
  1191. 🗡 dagger
  1192. ⚔ crossed swords
  1193. 🔫 pistol
  1194. 🏹 bow and arrow
  1195. 🛡 shield
  1196. 🔧 wrench
  1197. 🔩 nut and bolt
  1198. ⚙ gear
  1199. 🗜 clamp
  1200. ⚖ balance scale
  1201. 🦯 probing cane
  1202. 🔗 link
  1203. ⛓ chains
  1204. 🧰 toolbox
  1205. 🧲 magnet
  1206. ⚗ alembic
  1207. 🧪 test tube
  1208. 🧫 petri dish
  1209. 🧬 dna
  1210. 🔬 microscope
  1211. 🔭 telescope
  1212. 📡 satellite antenna
  1213. 💉 syringe
  1214. 🩸 drop of blood
  1215. 💊 pill
  1216. 🩹 adhesive bandage
  1217. 🩺 stethoscope
  1218. 🚪 door
  1219. 🛏 bed
  1220. 🛋 couch and lamp
  1221. 🪑 chair
  1222. 🚽 toilet
  1223. 🚿 shower
  1224. 🛁 bathtub
  1225. 🪒 razor
  1226. 🧴 lotion bottle
  1227. 🧷 safety pin
  1228. 🧹 broom
  1229. 🧺 basket
  1230. 🧻 roll of paper
  1231. 🧼 soap
  1232. 🧽 sponge
  1233. 🧯 fire extinguisher
  1234. 🛒 shopping cart
  1235. 🚬 cigarette
  1236. ⚰ coffin
  1237. ⚱ funeral urn
  1238. 🗿 moai
  1239. 🏧 ATM sign
  1240. 🚮 litter in bin sign
  1241. 🚰 potable water
  1242. ♿ wheelchair symbol
  1243. 🚹 men’s room
  1244. 🚺 women’s room
  1245. 🚻 restroom
  1246. 🚼 baby symbol
  1247. 🚾 water closet
  1248. 🛂 passport control
  1249. 🛃 customs
  1250. 🛄 baggage claim
  1251. 🛅 left luggage
  1252. ⚠ warning
  1253. 🚸 children crossing
  1254. ⛔ no entry
  1255. 🚫 prohibited
  1256. 🚳 no bicycles
  1257. 🚭 no smoking
  1258. 🚯 no littering
  1259. 🚱 non-potable water
  1260. 🚷 no pedestrians
  1261. 📵 no mobile phones
  1262. 🔞 no one under eighteen
  1263. ☢ radioactive
  1264. ☣ biohazard
  1265. ⬆ up arrow
  1266. ↗ up-right arrow
  1267. ➡ right arrow
  1268. ↘ down-right arrow
  1269. ⬇ down arrow
  1270. ↙ down-left arrow
  1271. ⬅ left arrow
  1272. ↖ up-left arrow
  1273. ↕ up-down arrow
  1274. ↔ left-right arrow
  1275. ↩ right arrow curving left
  1276. ↪ left arrow curving right
  1277. ⤴ right arrow curving up
  1278. ⤵ right arrow curving down
  1279. 🔃 clockwise vertical arrows
  1280. 🔄 counterclockwise arrows button
  1281. 🔙 BACK arrow
  1282. 🔚 END arrow
  1283. 🔛 ON! arrow
  1284. 🔜 SOON arrow
  1285. 🔝 TOP arrow
  1286. 🛐 place of worship
  1287. ⚛ atom symbol
  1288. 🕉 om
  1289. ✡ star of David
  1290. ☸ wheel of dharma
  1291. ☯ yin yang
  1292. ✝ latin cross
  1293. ☦ orthodox cross
  1294. ☪ star and crescent
  1295. ☮ peace symbol
  1296. 🕎 menorah
  1297. 🔯 dotted six-pointed star
  1298. ♈ Aries
  1299. ♉ Taurus
  1300. ♊ Gemini
  1301. ♋ Cancer
  1302. ♌ Leo
  1303. ♍ Virgo
  1304. ♎ Libra
  1305. ♏ Scorpio
  1306. ♐ Sagittarius
  1307. ♑ Capricorn
  1308. ♒ Aquarius
  1309. ♓ Pisces
  1310. ⛎ Ophiuchus
  1311. 🔀 shuffle tracks button
  1312. 🔁 repeat button
  1313. 🔂 repeat single button
  1314. ▶ play button
  1315. ⏩ fast-forward button
  1316. ⏭ next track button
  1317. ⏯ play or pause button
  1318. ◀ reverse button
  1319. ⏪ fast reverse button
  1320. ⏮ last track button
  1321. 🔼 upwards button
  1322. ⏫ fast up button
  1323. 🔽 downwards button
  1324. ⏬ fast down button
  1325. ⏸ pause button
  1326. ⏹ stop button
  1327. ⏺ record button
  1328. ⏏ eject button
  1329. 🎦 cinema
  1330. 🔅 dim button
  1331. 🔆 bright button
  1332. 📶 antenna bars
  1333. 📳 vibration mode
  1334. 📴 mobile phone off
  1335. ♀ female sign
  1336. ♂ male sign
  1337. ⚕ medical symbol
  1338. ♾ infinity
  1339. ♻ recycling symbol
  1340. ⚜ fleur-de-lis
  1341. 🔱 trident emblem
  1342. 📛 name badge
  1343. 🔰 Japanese symbol for beginner
  1344. ⭕ hollow red circle
  1345. ✅ check mark button
  1346. ☑ check box with check
  1347. ✔ check mark
  1348. ✖ multiplication sign
  1349. ❌ cross mark
  1350. ❎ cross mark button
  1351. ➕ plus sign
  1352. ➖ minus sign
  1353. ➗ division sign
  1354. ➰ curly loop
  1355. ➿ double curly loop
  1356. 〽 part alternation mark
  1357. ✳ eight-spoked asterisk
  1358. ✴ eight-pointed star
  1359. ❇ sparkle
  1360. ‼ double exclamation mark
  1361. ⁉ exclamation question mark
  1362. ❓ question mark
  1363. ❔ white question mark
  1364. ❕ white exclamation mark
  1365. ❗ exclamation mark
  1366. 〰 wavy dash
  1367. © copyright
  1368. ® registered
  1369. ™ trade mark
  1370. #️⃣ keycap: #
  1371. *️⃣ keycap: *
  1372. 0️⃣ keycap: 0
  1373. 1️⃣ keycap: 1
  1374. 2️⃣ keycap: 2
  1375. 3️⃣ keycap: 3
  1376. 4️⃣ keycap: 4
  1377. 5️⃣ keycap: 5
  1378. 6️⃣ keycap: 6
  1379. 7️⃣ keycap: 7
  1380. 8️⃣ keycap: 8
  1381. 9️⃣ keycap: 9
  1382. 🔟 keycap: 10
  1383. 🔠 input latin uppercase
  1384. 🔡 input latin lowercase
  1385. 🔢 input numbers
  1386. 🔣 input symbols
  1387. 🔤 input latin letters
  1388. 🅰 A button (blood type)
  1389. 🆎 AB button (blood type)
  1390. 🅱 B button (blood type)
  1391. 🆑 CL button
  1392. 🆒 COOL button
  1393. 🆓 FREE button
  1394. ℹ information
  1395. 🆔 ID button
  1396. Ⓜ circled M
  1397. 🆕 NEW button
  1398. 🆖 NG button
  1399. 🅾 O button (blood type)
  1400. 🆗 OK button
  1401. 🅿 P button
  1402. 🆘 SOS button
  1403. 🆙 UP! button
  1404. 🆚 VS button
  1405. 🈁 Japanese “here” button
  1406. 🈂 Japanese “service charge” button
  1407. 🈷 Japanese “monthly amount” button
  1408. 🈶 Japanese “not free of charge” button
  1409. 🈯 Japanese “reserved” button
  1410. 🉐 Japanese “bargain” button
  1411. 🈹 Japanese “discount” button
  1412. 🈚 Japanese “free of charge” button
  1413. 🈲 Japanese “prohibited” button
  1414. 🉑 Japanese “acceptable” button
  1415. 🈸 Japanese “application” button
  1416. 🈴 Japanese “passing grade” button
  1417. 🈳 Japanese “vacancy” button
  1418. ㊗ Japanese “congratulations” button
  1419. ㊙ Japanese “secret” button
  1420. 🈺 Japanese “open for business” button
  1421. 🈵 Japanese “no vacancy” button
  1422. 🔴 red circle
  1423. 🟠 orange circle
  1424. 🟡 yellow circle
  1425. 🟢 green circle
  1426. 🔵 blue circle
  1427. 🟣 purple circle
  1428. 🟤 brown circle
  1429. ⚫ black circle
  1430. ⚪ white circle
  1431. 🟥 red square
  1432. 🟧 orange square
  1433. 🟨 yellow square
  1434. 🟩 green square
  1435. 🟦 blue square
  1436. 🟪 purple square
  1437. 🟫 brown square
  1438. ⬛ black large square
  1439. ⬜ white large square
  1440. ◼ black medium square
  1441. ◻ white medium square
  1442. ◾ black medium-small square
  1443. ◽ white medium-small square
  1444. ▪ black small square
  1445. ▫ white small square
  1446. 🔶 large orange diamond
  1447. 🔷 large blue diamond
  1448. 🔸 small orange diamond
  1449. 🔹 small blue diamond
  1450. 🔺 red triangle pointed up
  1451. 🔻 red triangle pointed down
  1452. 💠 diamond with a dot
  1453. 🔘 radio button
  1454. 🔳 white square button
  1455. 🔲 black square button
  1456. 🏁 chequered flag
  1457. 🚩 triangular flag
  1458. 🎌 crossed flags
  1459. 🏴 black flag
  1460. 🏳 white flag
  1461. 🏳️‍🌈 rainbow flag
  1462. 🏴‍☠️ pirate flag
  1463. 🇦🇨 flag: Ascension Island
  1464. 🇦🇩 flag: Andorra
  1465. 🇦🇪 flag: United Arab Emirates
  1466. 🇦🇫 flag: Afghanistan
  1467. 🇦🇬 flag: Antigua & Barbuda
  1468. 🇦🇮 flag: Anguilla
  1469. 🇦🇱 flag: Albania
  1470. 🇦🇲 flag: Armenia
  1471. 🇦🇴 flag: Angola
  1472. 🇦🇶 flag: Antarctica
  1473. 🇦🇷 flag: Argentina
  1474. 🇦🇸 flag: American Samoa
  1475. 🇦🇹 flag: Austria
  1476. 🇦🇺 flag: Australia
  1477. 🇦🇼 flag: Aruba
  1478. 🇦🇽 flag: Åland Islands
  1479. 🇦🇿 flag: Azerbaijan
  1480. 🇧🇦 flag: Bosnia & Herzegovina
  1481. 🇧🇧 flag: Barbados
  1482. 🇧🇩 flag: Bangladesh
  1483. 🇧🇪 flag: Belgium
  1484. 🇧🇫 flag: Burkina Faso
  1485. 🇧🇬 flag: Bulgaria
  1486. 🇧🇭 flag: Bahrain
  1487. 🇧🇮 flag: Burundi
  1488. 🇧🇯 flag: Benin
  1489. 🇧🇱 flag: St. Barthélemy
  1490. 🇧🇲 flag: Bermuda
  1491. 🇧🇳 flag: Brunei
  1492. 🇧🇴 flag: Bolivia
  1493. 🇧🇶 flag: Caribbean Netherlands
  1494. 🇧🇷 flag: Brazil
  1495. 🇧🇸 flag: Bahamas
  1496. 🇧🇹 flag: Bhutan
  1497. 🇧🇻 flag: Bouvet Island
  1498. 🇧🇼 flag: Botswana
  1499. 🇧🇾 flag: Belarus
  1500. 🇧🇿 flag: Belize
  1501. 🇨🇦 flag: Canada
  1502. 🇨🇨 flag: Cocos (Keeling) Islands
  1503. 🇨🇩 flag: Congo - Kinshasa
  1504. 🇨🇫 flag: Central African Republic
  1505. 🇨🇬 flag: Congo - Brazzaville
  1506. 🇨🇭 flag: Switzerland
  1507. 🇨🇮 flag: Côte d’Ivoire
  1508. 🇨🇰 flag: Cook Islands
  1509. 🇨🇱 flag: Chile
  1510. 🇨🇲 flag: Cameroon
  1511. 🇨🇳 flag: China
  1512. 🇨🇴 flag: Colombia
  1513. 🇨🇵 flag: Clipperton Island
  1514. 🇨🇷 flag: Costa Rica
  1515. 🇨🇺 flag: Cuba
  1516. 🇨🇻 flag: Cape Verde
  1517. 🇨🇼 flag: Curaçao
  1518. 🇨🇽 flag: Christmas Island
  1519. 🇨🇾 flag: Cyprus
  1520. 🇨🇿 flag: Czechia
  1521. 🇩🇪 flag: Germany
  1522. 🇩🇬 flag: Diego Garcia
  1523. 🇩🇯 flag: Djibouti
  1524. 🇩🇰 flag: Denmark
  1525. 🇩🇲 flag: Dominica
  1526. 🇩🇴 flag: Dominican Republic
  1527. 🇩🇿 flag: Algeria
  1528. 🇪🇦 flag: Ceuta & Melilla
  1529. 🇪🇨 flag: Ecuador
  1530. 🇪🇪 flag: Estonia
  1531. 🇪🇬 flag: Egypt
  1532. 🇪🇭 flag: Western Sahara
  1533. 🇪🇷 flag: Eritrea
  1534. 🇪🇸 flag: Spain
  1535. 🇪🇹 flag: Ethiopia
  1536. 🇪🇺 flag: European Union
  1537. 🇫🇮 flag: Finland
  1538. 🇫🇯 flag: Fiji
  1539. 🇫🇰 flag: Falkland Islands
  1540. 🇫🇲 flag: Micronesia
  1541. 🇫🇴 flag: Faroe Islands
  1542. 🇫🇷 flag: France
  1543. 🇬🇦 flag: Gabon
  1544. 🇬🇧 flag: United Kingdom
  1545. 🇬🇩 flag: Grenada
  1546. 🇬🇪 flag: Georgia
  1547. 🇬🇫 flag: French Guiana
  1548. 🇬🇬 flag: Guernsey
  1549. 🇬🇭 flag: Ghana
  1550. 🇬🇮 flag: Gibraltar
  1551. 🇬🇱 flag: Greenland
  1552. 🇬🇲 flag: Gambia
  1553. 🇬🇳 flag: Guinea
  1554. 🇬🇵 flag: Guadeloupe
  1555. 🇬🇶 flag: Equatorial Guinea
  1556. 🇬🇷 flag: Greece
  1557. 🇬🇸 flag: South Georgia & South Sandwich Islands
  1558. 🇬🇹 flag: Guatemala
  1559. 🇬🇺 flag: Guam
  1560. 🇬🇼 flag: Guinea-Bissau
  1561. 🇬🇾 flag: Guyana
  1562. 🇭🇰 flag: Hong Kong SAR China
  1563. 🇭🇲 flag: Heard & McDonald Islands
  1564. 🇭🇳 flag: Honduras
  1565. 🇭🇷 flag: Croatia
  1566. 🇭🇹 flag: Haiti
  1567. 🇭🇺 flag: Hungary
  1568. 🇮🇨 flag: Canary Islands
  1569. 🇮🇩 flag: Indonesia
  1570. 🇮🇪 flag: Ireland
  1571. 🇮🇱 flag: Israel
  1572. 🇮🇲 flag: Isle of Man
  1573. 🇮🇳 flag: India
  1574. 🇮🇴 flag: British Indian Ocean Territory
  1575. 🇮🇶 flag: Iraq
  1576. 🇮🇷 flag: Iran
  1577. 🇮🇸 flag: Iceland
  1578. 🇮🇹 flag: Italy
  1579. 🇯🇪 flag: Jersey
  1580. 🇯🇲 flag: Jamaica
  1581. 🇯🇴 flag: Jordan
  1582. 🇯🇵 flag: Japan
  1583. 🇰🇪 flag: Kenya
  1584. 🇰🇬 flag: Kyrgyzstan
  1585. 🇰🇭 flag: Cambodia
  1586. 🇰🇮 flag: Kiribati
  1587. 🇰🇲 flag: Comoros
  1588. 🇰🇳 flag: St. Kitts & Nevis
  1589. 🇰🇵 flag: North Korea
  1590. 🇰🇷 flag: South Korea
  1591. 🇰🇼 flag: Kuwait
  1592. 🇰🇾 flag: Cayman Islands
  1593. 🇰🇿 flag: Kazakhstan
  1594. 🇱🇦 flag: Laos
  1595. 🇱🇧 flag: Lebanon
  1596. 🇱🇨 flag: St. Lucia
  1597. 🇱🇮 flag: Liechtenstein
  1598. 🇱🇰 flag: Sri Lanka
  1599. 🇱🇷 flag: Liberia
  1600. 🇱🇸 flag: Lesotho
  1601. 🇱🇹 flag: Lithuania
  1602. 🇱🇺 flag: Luxembourg
  1603. 🇱🇻 flag: Latvia
  1604. 🇱🇾 flag: Libya
  1605. 🇲🇦 flag: Morocco
  1606. 🇲🇨 flag: Monaco
  1607. 🇲🇩 flag: Moldova
  1608. 🇲🇪 flag: Montenegro
  1609. 🇲🇫 flag: St. Martin
  1610. 🇲🇬 flag: Madagascar
  1611. 🇲🇭 flag: Marshall Islands
  1612. 🇲🇰 flag: Macedonia
  1613. 🇲🇱 flag: Mali
  1614. 🇲🇲 flag: Myanmar (Burma)
  1615. 🇲🇳 flag: Mongolia
  1616. 🇲🇴 flag: Macao SAR China
  1617. 🇲🇵 flag: Northern Mariana Islands
  1618. 🇲🇶 flag: Martinique
  1619. 🇲🇷 flag: Mauritania
  1620. 🇲🇸 flag: Montserrat
  1621. 🇲🇹 flag: Malta
  1622. 🇲🇺 flag: Mauritius
  1623. 🇲🇻 flag: Maldives
  1624. 🇲🇼 flag: Malawi
  1625. 🇲🇽 flag: Mexico
  1626. 🇲🇾 flag: Malaysia
  1627. 🇲🇿 flag: Mozambique
  1628. 🇳🇦 flag: Namibia
  1629. 🇳🇨 flag: New Caledonia
  1630. 🇳🇪 flag: Niger
  1631. 🇳🇫 flag: Norfolk Island
  1632. 🇳🇬 flag: Nigeria
  1633. 🇳🇮 flag: Nicaragua
  1634. 🇳🇱 flag: Netherlands
  1635. 🇳🇴 flag: Norway
  1636. 🇳🇵 flag: Nepal
  1637. 🇳🇷 flag: Nauru
  1638. 🇳🇺 flag: Niue
  1639. 🇳🇿 flag: New Zealand
  1640. 🇴🇲 flag: Oman
  1641. 🇵🇦 flag: Panama
  1642. 🇵🇪 flag: Peru
  1643. 🇵🇫 flag: French Polynesia
  1644. 🇵🇬 flag: Papua New Guinea
  1645. 🇵🇭 flag: Philippines
  1646. 🇵🇰 flag: Pakistan
  1647. 🇵🇱 flag: Poland
  1648. 🇵🇲 flag: St. Pierre & Miquelon
  1649. 🇵🇳 flag: Pitcairn Islands
  1650. 🇵🇷 flag: Puerto Rico
  1651. 🇵🇸 flag: Palestinian Territories
  1652. 🇵🇹 flag: Portugal
  1653. 🇵🇼 flag: Palau
  1654. 🇵🇾 flag: Paraguay
  1655. 🇶🇦 flag: Qatar
  1656. 🇷🇪 flag: Réunion
  1657. 🇷🇴 flag: Romania
  1658. 🇷🇸 flag: Serbia
  1659. 🇷🇺 flag: Russia
  1660. 🇷🇼 flag: Rwanda
  1661. 🇸🇦 flag: Saudi Arabia
  1662. 🇸🇧 flag: Solomon Islands
  1663. 🇸🇨 flag: Seychelles
  1664. 🇸🇩 flag: Sudan
  1665. 🇸🇪 flag: Sweden
  1666. 🇸🇬 flag: Singapore
  1667. 🇸🇭 flag: St. Helena
  1668. 🇸🇮 flag: Slovenia
  1669. 🇸🇯 flag: Svalbard & Jan Mayen
  1670. 🇸🇰 flag: Slovakia
  1671. 🇸🇱 flag: Sierra Leone
  1672. 🇸🇲 flag: San Marino
  1673. 🇸🇳 flag: Senegal
  1674. 🇸🇴 flag: Somalia
  1675. 🇸🇷 flag: Suriname
  1676. 🇸🇸 flag: South Sudan
  1677. 🇸🇹 flag: São Tomé & Príncipe
  1678. 🇸🇻 flag: El Salvador
  1679. 🇸🇽 flag: Sint Maarten
  1680. 🇸🇾 flag: Syria
  1681. 🇸🇿 flag: Eswatini
  1682. 🇹🇦 flag: Tristan da Cunha
  1683. 🇹🇨 flag: Turks & Caicos Islands
  1684. 🇹🇩 flag: Chad
  1685. 🇹🇫 flag: French Southern Territories
  1686. 🇹🇬 flag: Togo
  1687. 🇹🇭 flag: Thailand
  1688. 🇹🇯 flag: Tajikistan
  1689. 🇹🇰 flag: Tokelau
  1690. 🇹🇱 flag: Timor-Leste
  1691. 🇹🇲 flag: Turkmenistan
  1692. 🇹🇳 flag: Tunisia
  1693. 🇹🇴 flag: Tonga
  1694. 🇹🇷 flag: Turkey
  1695. 🇹🇹 flag: Trinidad & Tobago
  1696. 🇹🇻 flag: Tuvalu
  1697. 🇹🇼 flag: Taiwan
  1698. 🇹🇿 flag: Tanzania
  1699. 🇺🇦 flag: Ukraine
  1700. 🇺🇬 flag: Uganda
  1701. 🇺🇲 flag: U.S. Outlying Islands
  1702. 🇺🇳 flag: United Nations
  1703. 🇺🇸 flag: United States
  1704. 🇺🇾 flag: Uruguay
  1705. 🇺🇿 flag: Uzbekistan
  1706. 🇻🇦 flag: Vatican City
  1707. 🇻🇨 flag: St. Vincent & Grenadines
  1708. 🇻🇪 flag: Venezuela
  1709. 🇻🇬 flag: British Virgin Islands
  1710. 🇻🇮 flag: U.S. Virgin Islands
  1711. 🇻🇳 flag: Vietnam
  1712. 🇻🇺 flag: Vanuatu
  1713. 🇼🇫 flag: Wallis & Futuna
  1714. 🇼🇸 flag: Samoa
  1715. 🇽🇰 flag: Kosovo
  1716. 🇾🇪 flag: Yemen
  1717. 🇾🇹 flag: Mayotte
  1718. 🇿🇦 flag: South Africa
  1719. 🇿🇲 flag: Zambia
  1720. 🇿🇼 flag: Zimbabwe
  1721. 🏴󠁧󠁢󠁥󠁮󠁧󠁿 flag: England
  1722. 🏴󠁧󠁢󠁳󠁣󠁴󠁿 flag: Scotland
  1723. 🏴󠁧󠁢󠁷󠁬󠁳󠁿 flag: Wales
  1724. """
  1725. skin_tone_selectable_emojis = {'👃', '🧑', '👇', '👨', '👋', '🏋', '👪', '🖐', '🙏', '🤜', '💅',
  1726. '🤼', '🎅', '🤦', '🙇', '🤾', '💂', '🧗', '👈', '🤹', '👵', '🤽',
  1727. '🏄', '🧛', '🧖', '👷', '💁', '🤟', '🧘', '🧏', '👳', '👱', '✊',
  1728. '👎', '👶', '🧜', '🤘', '🧔', '🕴', '🏃', '🤰', '👌', '🙎', '🧒',
  1729. '🛀', '🤲', '🧝', '👩', '💪', '🧙', '🤴', '👉', '💑', '🧎', '🧚',
  1730. '🕺', '💃', '🧍', '🙌', '🚣', '👏', '💏', '🚶', '✋', '🛌', '🏊',
  1731. '🤸', '🖖', '🧓', '🤱', '💇', '☝', '👧', '👲', '👴', '🤏', '🦹',
  1732. '🦵', '🧕', '🚴', '🤳', '✌', '💆', '🤷', '🤚', '👍', '👭', '🙆',
  1733. '🕵', '🤛', '🤶', '🦶', '🙋', '⛹', '👼', '👊', '🙅', '👰', '🦸',
  1734. '👮', '🏇', '🦻', '👐', '🤞', '✍', '🤙', '🏌', '👂', '👬', '🤵',
  1735. '🙍', '🏂', '🤝', '👫', '👦', '👸', '👆', '👯', '🖕', '🚵'}
  1736. fitzpatrick_modifiers = {
  1737. '': 'neutral',
  1738. '🏻': 'light skin',
  1739. '🏼': 'medium-light skin',
  1740. '🏽': 'moderate skin',
  1741. '🏾': 'dark brown skin',
  1742. '🏿': 'black skin'
  1743. }
  1744. fitzpatrick_modifiers_reversed = {" ".join(name.split()[:-1]): modifier for modifier, name in
  1745. fitzpatrick_modifiers.items() if name != "neutral"}
  1746. def select_skin_tone(selected_emoji: chr, skin_tone: str):
  1747. if skin_tone == 'neutral':
  1748. return selected_emoji
  1749. elif skin_tone != 'ask':
  1750. return selected_emoji + fitzpatrick_modifiers_reversed[skin_tone]
  1751. else:
  1752. modified_emojis = '\n'.join(map(
  1753. lambda modifier: selected_emoji + modifier + " " + fitzpatrick_modifiers[modifier],
  1754. fitzpatrick_modifiers.keys()
  1755. ))
  1756. rofi_skin = Popen(
  1757. args=[
  1758. 'rofi',
  1759. '-dmenu',
  1760. '-i',
  1761. '-multi-select',
  1762. '-p',
  1763. selected_emoji + ' ',
  1764. '-kb-custom-1',
  1765. 'Alt+c'
  1766. ],
  1767. stdin=PIPE,
  1768. stdout=PIPE
  1769. )
  1770. (stdout_skin, _) = rofi_skin.communicate(input=modified_emojis.encode('utf-8'))
  1771. if rofi_skin.returncode == 1:
  1772. return ''
  1773. return stdout_skin.split()[0].decode('utf-8')
  1774. def insert_emojis(emojis: str, active_window: str, use_clipboard: bool = False):
  1775. if use_clipboard:
  1776. copy_paste_emojis(emojis, active_window)
  1777. else:
  1778. type_emojis(emojis, active_window)
  1779. def type_emojis(emojis: str, active_window: str):
  1780. Popen(
  1781. args=[
  1782. 'xdotool',
  1783. 'type',
  1784. '--clearmodifiers',
  1785. '--window',
  1786. active_window,
  1787. emojis
  1788. ]
  1789. )
  1790. def copy_paste_emojis(emojis: str, active_window: str):
  1791. xsel = Popen(args=['xsel', '-o', '-b'], stdout=PIPE)
  1792. old_clipboard_content = xsel.communicate()[0].decode("utf-8")
  1793. xsel = Popen(args=['xsel', '-o', '-p'], stdout=PIPE)
  1794. old_primary_content = xsel.communicate()[0].decode("utf-8")
  1795. xsel = Popen(args=['xsel', '-i', '-b'], stdin=PIPE)
  1796. xsel.communicate(input=emojis.encode('utf-8'))
  1797. xsel = Popen(args=['xsel', '-i', '-p'], stdin=PIPE)
  1798. xsel.communicate(input=emojis.encode('utf-8'))
  1799. Popen(args=['xdotool', 'key', '--clearmodifiers', '--window', active_window,
  1800. 'Shift+Insert']).wait()
  1801. xsel = Popen(args=['xsel', '-i', '-b'], stdin=PIPE)
  1802. xsel.communicate(input=old_clipboard_content.encode('utf-8'))
  1803. xsel = Popen(args=['xsel', '-i', '-p'], stdin=PIPE)
  1804. xsel.communicate(input=old_primary_content.encode('utf-8'))
  1805. def copy_emojis_to_clipboard(emojis: str):
  1806. xsel = Popen(
  1807. args=[
  1808. 'xsel',
  1809. '-i',
  1810. '-b'
  1811. ],
  1812. stdin=PIPE
  1813. )
  1814. xsel.communicate(input=emojis.encode('utf-8'))
  1815. def parse_arguments() -> argparse.Namespace:
  1816. parser = argparse.ArgumentParser(description='Select, insert or copy Unicode emoji')
  1817. parser.add_argument(
  1818. '--use-clipboard',
  1819. '-c',
  1820. dest='use_clipboard',
  1821. action='store_true',
  1822. help='Do not type the emoji directly, but copy it to the clipboard, insert it from there and then restore the clipboard\'s original value'
  1823. )
  1824. parser.add_argument(
  1825. '--skin-tone',
  1826. '-s',
  1827. dest='skin_tone',
  1828. choices=['neutral', 'light', 'medium-light', 'moderate', 'dark brown', 'black', 'ask'],
  1829. default='ask',
  1830. action='store'
  1831. )
  1832. return parser.parse_args()
  1833. def get_active_window() -> str:
  1834. xdotool = Popen(args=['xdotool', 'getactivewindow'], stdout=PIPE)
  1835. return xdotool.communicate()[0].decode("utf-8")[:-1]
  1836. def compile_chosen_emojis(chosen_emojis, skin_tone) -> str:
  1837. emojis = ""
  1838. for line in chosen_emojis:
  1839. emoji = line.split()[0].decode('utf-8')
  1840. if emoji in skin_tone_selectable_emojis:
  1841. emoji = select_skin_tone(emoji, skin_tone)
  1842. emojis += emoji
  1843. return emojis
  1844. if __name__ == "__main__":
  1845. args = parse_arguments()
  1846. active_window = get_active_window()
  1847. rofi = Popen(
  1848. args=[
  1849. 'rofi',
  1850. '-dmenu',
  1851. '-i',
  1852. '-multi-select',
  1853. '-p',
  1854. ' 😀 ',
  1855. '-kb-custom-1',
  1856. 'Alt+c',
  1857. '-kb-custom-2',
  1858. 'Alt+t',
  1859. '-kb-custom-3',
  1860. 'Alt+p'
  1861. ],
  1862. stdin=PIPE,
  1863. stdout=PIPE
  1864. )
  1865. (stdout, stderr) = rofi.communicate(input=emoji_list.encode('utf-8'))
  1866. if rofi.returncode == 1:
  1867. exit()
  1868. else:
  1869. emojis = compile_chosen_emojis(stdout.splitlines(), args.skin_tone)
  1870. if rofi.returncode == 0:
  1871. insert_emojis(emojis, active_window, args.use_clipboard)
  1872. elif rofi.returncode == 10:
  1873. copy_emojis_to_clipboard(emojis)
  1874. elif rofi.returncode == 11:
  1875. type_emojis(emojis, active_window)
  1876. elif rofi.returncode == 12:
  1877. copy_paste_emojis(emojis, active_window)