JGMENUUNICODE(7)

๐Ÿ’– jgmenuunicode ๐Ÿ’–

okay bestie, so this is the jgmenuunicode(7) page โ€” it's literally just a whole vibe tour of how unicode works inside jgmenu. section 7, she's a manpage, she's iconic, let's go ๐ŸŽ€


โœจ NAME โœจ

jgmenuunicode โ€” an overview of jgmenu unicode usage ๐Ÿฆ‹


๐ŸŒธ INTRODUCTION ๐ŸŒธ

okay so here's the tea: jgmenu can display unicode characters. periodt. and you can use them in:

  • CSV data
  • Widgets
  • Config file

and throughout this whole doc, we're gonna refer to unicode code points by writing u+ and then their hexadecimal number. so in examples, u+1234 is the girl we're using ๐Ÿ’…


๐Ÿ–ฅ๏ธ UNICODE CHARACTERS IN TERMINAL ๐Ÿ–ฅ๏ธ

ngl terminals are NOT all built the same when it comes to unicode, they handle it differently ๐Ÿ˜ญ so for full support: avoid xterm and urxvt, and instead opt for something libvte based, like sakura or gnome-terminal. those are the main characters here ๐Ÿ‘‘

in a terminal, you can produce a unicode character by issuing

printf '%b' '\u1234'

and in libvte terminals specifically, you can press ctrl+shift+u and then enter the hex sequence โœจ


๐Ÿ“ UNICODE CHARACTERS IN VIM ๐Ÿ“

whilst in insert mode, press ctrl+V and then type u1234. that's it. that's the tip ๐Ÿซถ

also use the command ga to show the hex value of the character under the cursor. lowkey so useful ๐Ÿ”


๐ŸŽญ VARIATION SELECTORS ๐ŸŽญ

okay this part is so cool. some unicode characters can be rendered as either emoji or text, and special invisible unicode characters called variation selectors can be used to force either presentation ๐Ÿ’ซ

so you append with the text presentation selector (u+fe0e) or the emoji presentation selector (u+fe0f), to force text or emoji respectively. for example:

u+1f50d u+fe0f ๐Ÿ”
u+1f50d u+fe0e ๐Ÿ”๏ธŽ

see how they're giving different energy?? yeah. that's the whole point ๐Ÿ˜Œ


๐Ÿ‘‘ USEFUL CHARACTERS FOR BUILDING MENUS ๐Ÿ‘‘

u+2315 โŒ•
u+26b2 โšฒ
u+1c04 แฐ„

โžก๏ธ ARROWS

u+2192 โ†’
u+203a โ€บ
u+25b6 โ–ถ
u+2794 โž”
u+2799 โž™
u+279b โž›
u+279c โžœ
u+279d โž
u+279e โžž
u+279f โžŸ
u+27a0 โž 
u+27a1 โžก
u+27a2 โžข
u+27a3 โžฃ
u+27a4 โžค
u+27a5 โžฅ
u+27a6 โžฆ
u+21a6 โ†ฆ
u+21d2 โ‡’
u+21dd โ‡
u+21e2 โ‡ข
u+21e5 โ‡ฅ
u+21e8 โ‡จ
u+21fe โ‡พ
u+27ad โžญ
u+27ae โžฎ
u+27af โžฏ
u+27b1 โžฑ
u+27b2 โžฒ
u+27ba โžบ
u+27bc โžผ
u+27bd โžฝ
u+27be โžพ
that's 33 arrows bestie, count 'em, they're all here, no cap ๐Ÿ”ฅ

๐Ÿ’œ AUTHORS ๐Ÿ’œ

Johan Malm. โ€” yeah that's the whole author section, one name, slay ๐Ÿ’…


and that's the page!! this was JGMENUUNICODE(7) from 7 October, 2020, version JGMENUUNICODE(7). mwah, bye bestie ๐Ÿซถโœจ๐ŸŽ€