Add an Emoji Picker as a launcher mode with a searchable grid
The launcher gains an emoji mode like Clipboard History: >emoji switches in place without closing or animating, and glassmxrph emoji toggles it. Emoji show as a grid instead of named rows; the selected or hovered emoji's name is the section label. Search requires every term and ranks name matches before keyword matches; Enter copies with wl-copy. assets/emoji.tsv comes from Unicode 17 emoji-test.txt without skin-tone variants, with keywords from the rofi emopicker list (scripts/emoji-data). The test driver caps snapshot results, since IPC replies have a size limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
29dd64572a
commit
b3076a4cde
13 files changed
+2220
-29
No files matched your search
@@ -155,3 +155,12 @@ and snaps the height instead of animating it. `ClipboardService` reads the user'
|
||||
history through `helpers/clipboard.py` only when the launcher opens, and keeps the last list cached.
|
||||
The helper never stores entries (the user's `wl-paste --watch cliphist store` does), decodes
|
||||
thumbnails for the newest images into the cache, and detaches `wl-copy` when copying.
|
||||
|
||||
## Emoji Picker
|
||||
|
||||
The Emoji Picker is another launcher mode: `>emoji` switches in place like `>clipboard`, and
|
||||
`glassmxrph emoji` toggles it directly. Results show as a grid of glyphs with the selected (or
|
||||
hovered) emoji's name as the section label. `EmojiService` reads `assets/emoji.tsv` the first time
|
||||
the mode opens; search requires every term and lists name matches before keyword matches. Enter
|
||||
copies with `wl-copy`. `scripts/emoji-data` regenerates the table from Unicode's `emoji-test.txt`
|
||||
(skin-tone variants omitted) plus an optional keyword list. `tests/emoji_runtime.py` covers it.
|
||||
Reference in new issue
Block a user