summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-01-17 11:11:58 +0200
committerDrNuget <drnuget@outlook.com>2025-01-17 11:11:58 +0200
commitcad911c14a6ec5f4134d56a3f5154cd4d668efb2 (patch)
tree88b9b12de3461407d95232e882597c9f0544f0ca
parent3fcf1a3a0affa5027c399c2ad05b8c573ebedb0e (diff)
custom emoji picker
-rwxr-xr-x.scripts/emoji3
-rwxr-xr-x.scripts/get-emoji3
2 files changed, 6 insertions, 0 deletions
diff --git a/.scripts/emoji b/.scripts/emoji
new file mode 100755
index 0000000..182e8ed
--- /dev/null
+++ b/.scripts/emoji
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cat ~/.scripts/files/emoji.txt | grep -v "^#\|^$" | awk '{split($0,a,"#");$0=a[2];$2="";print tolower($0)}' | wmenu -l 20 | tr -d "\n" | awk '{printf $1}' | wl-copy
diff --git a/.scripts/get-emoji b/.scripts/get-emoji
new file mode 100755
index 0000000..2c8e7d8
--- /dev/null
+++ b/.scripts/get-emoji
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+curl https://unicode.org/Public/emoji/latest/emoji-test.txt -o ~/.scripts/files/emoji.txt