nix/modules/home-manager/scripts/common/bin/emoji

6 lines
149 B
Bash
Executable file

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