Vendor the command set the menu and shell depend on

This commit is contained in:
2026-09-19 23:57:12 -04:00
parent 9501f2bb4d
commit c5434026a8
179 changed files with 12414 additions and 54 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
# blob:summary=Insert an emoji into the focused application
# blob:group=menu
# blob:args=<emoji>
# blob:hidden=true
emoji="${1:-}"
copy_pid=""
[[ -n $emoji ]] || exit
printf '%s' "$emoji" | wl-copy --type text/plain --sensitive --foreground &
copy_pid=$!
sleep 0.15
wtype -M shift -k Insert -m shift 2>/dev/null || true
sleep 0.2
kill "$copy_pid" 2>/dev/null || true