aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/RofiEmoji.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/RofiEmoji.sh')
-rwxr-xr-xconfig/hypr/scripts/RofiEmoji.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh
index 6bf6a5ab..fa27a341 100755
--- a/config/hypr/scripts/RofiEmoji.sh
+++ b/config/hypr/scripts/RofiEmoji.sh
@@ -2,6 +2,11 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Rofi Emoticons. Not my own. Cant remember the source
+# Check if rofi is already running
+if pidof rofi > /dev/null; then
+ pkill rofi
+fi
+
sed '1,/^# # DATA # #$/d' "$0" | \
rofi -i -dmenu -config ~/.config/rofi/config-emoji.rasi | \
awk -F'\t' '{print $1}' | \
@@ -10,6 +15,7 @@ wl-copy
exit
+
# # DATA # #
😀 face face | grin | grinning face
😃 face with big eyes face | grinning face with big eyes | mouth | open | smile
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage