diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-01-12 12:50:56 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-01-12 12:50:56 +0900 |
| commit | 5df8cb82ccb01fefbd70aa059a326925b9ea98d6 (patch) | |
| tree | df8574e37a139dd8e41de64aef2134592075fd42 /config/hypr/scripts/RofiEmoji.sh | |
| parent | 22a7c6a47cda11a78727e9c903841b2f3273f52c (diff) | |
some changes on scripts which depends on rofi. Downside is only way to close the rofi is pressing esc button. However, you can execute immediately the script. ie., rofi menu is opened, by pressing Super W, it will execute wallpaper menu immediately.
Diffstat (limited to 'config/hypr/scripts/RofiEmoji.sh')
| -rwxr-xr-x | config/hypr/scripts/RofiEmoji.sh | 6 |
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 |
