summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemoji8
1 files changed, 8 insertions, 0 deletions
diff --git a/emoji b/emoji
new file mode 100755
index 0000000..b178503
--- /dev/null
+++ b/emoji
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+emoji=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -c -bw 3 -l 10 -p "Emoji:" | sed "s/ .*//" | tr -d '\n')
+
+[ -z "$emoji" ] && exit
+
+printf "$emoji" | xclip -selection clipboard
+notify-send "'$emoji' copied to clipboard"