nix/bin/emoji
2023-09-05 13:52:52 -05:00

5 lines
148 B
Bash
Executable file

#!/usr/bin/env sh
r="$(< "$HOME/.emoji.txt" sk --height 40%)"
echo "$r" | awk '$0=$1' | tr -d '\n' | clip
echo "Copied $r emoji to your clipboard"