From cad911c14a6ec5f4134d56a3f5154cd4d668efb2 Mon Sep 17 00:00:00 2001 From: DrNuget Date: Fri, 17 Jan 2025 11:11:58 +0200 Subject: custom emoji picker --- .scripts/emoji | 3 +++ .scripts/get-emoji | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 .scripts/emoji create mode 100755 .scripts/get-emoji (limited to '.scripts') 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 -- cgit v1.2.3