nix/scripts/bin/emoji
2023-09-05 15:15:43 -05:00

6 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"