config.phundrak.com/.local/bin/rofi-emoji

7 lines
265 B
Plaintext
Raw Normal View History

2019-10-23 10:00:28 +00:00
#!/usr/bin/fish
grep -v "#" ~/.config/emoji.txt | rofi -dmenu -i | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard
set emoji (xclip -o -selection clipboard | tr -d '\n')
set -a emoji "copied to clipboard"
pgrep -x dunst >/dev/null && notify-send $emoji