From e01f40b823760d8da1a430f7c392d98e3e43e80f Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 14 Mar 2021 21:06:20 +0100 Subject: [PATCH] add dmenu character input script --- dmenu_charinput.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 dmenu_charinput.sh diff --git a/dmenu_charinput.sh b/dmenu_charinput.sh new file mode 100755 index 0000000..8329624 --- /dev/null +++ b/dmenu_charinput.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -eu + +unicodedata -ranges "$1" | + dmenu -i -l 10 | + awk '{print $1}' | + tr -d "\n" | + xclip -selection clipboard