aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/emoji-menu.sh
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-04-15 11:30:57 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-04-15 11:30:57 +0100
commit533ad347fa226fc825e5918017f5773f0412d456 (patch)
tree4bd4d347444dd07aa7c27a7d9b8c0b3a7662c96d /.local/bin/emoji-menu.sh
parent0d3b60866487db32f9f3b0e68cea593b51c605da (diff)
Changed to work under Wayland
Diffstat (limited to '.local/bin/emoji-menu.sh')
-rwxr-xr-x.local/bin/emoji-menu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/emoji-menu.sh b/.local/bin/emoji-menu.sh
index f783402..a45df3a 100755
--- a/.local/bin/emoji-menu.sh
+++ b/.local/bin/emoji-menu.sh
@@ -13,5 +13,5 @@ fi
filter='.[] | (.emoji + " " + .description + " (" + (.aliases | join(", ")) + ")")'
sel="$(jq -r "$filter" <"$data_file" | rofi -i -dmenu -mesg "Emoji Menu" | cut -d ' ' -f 1 | tr -d '\n')"
if [ -n "$sel" ]; then
- printf "$sel" | xclip -selection clipboard
+ wl-copy "$sel"
fi