emoji-dmenu fixes - dotfiles - 🍚 personal arsenal of "rice"
HTML git clone https://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit fe56bafd0e663f52302c60a5ae2987f8152fca53
DIR parent 9e519bf8b1090555c8d8a7fb1e36942665ab9b7c
HTML Author: drkhsh <me@drkhsh.at>
Date: Fri, 20 Sep 2024 23:33:06 +0200
emoji-dmenu fixes
Diffstat:
M bin/bin/emoji-dmenu | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git a/bin/bin/emoji-dmenu b/bin/bin/emoji-dmenu
@@ -3,4 +3,6 @@
grep -v "#" ${XDG_DATA_HOME}/emoji_list | dmenu -i -l 20 | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard
-pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard) Co
+if [ -n "$(xclip -o -selection clipboard)" ]; then
+ notify-send "Emoji copied" "$(xclip -o -selection clipboard) successfully copied!" --icon=dialog-information;
+fi