wacom-emoji now literate programming, fixed issue with rofi-emoji

This commit is contained in:
Phuntsok Drak-pa
2019-10-23 14:15:12 +02:00
parent 825c41e5b2
commit 317eca7eb1
3 changed files with 194 additions and 8 deletions

View File

@@ -2,6 +2,6 @@
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')
test -z "$emoji" && exit
test -z "$emoji" && notify-send "No emoji copied" && exit
set -a emoji "copied to clipboard"
pgrep -x dunst >/dev/null && notify-send $emoji