Recognize selection handle

This commit is contained in:
HelionSmoker 2022-12-19 21:46:06 +02:00 committed by GitHub
parent 946a670581
commit 31ee9d0314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
# The famous "get a menu of emojis to copy" script.
# Get user selection via dmenu from emoji file.
chosen=$(cut -d ';' -f1 ~/.local/share/larbs/chars/* | dmenu -i -l 30 | sed "s/ .*//")
chosen=$(cut -d ';' -f1 ~/.local/share/larbs/chars/* | dmenu -i -l 30 | sed "s/,.*//")
# Exit if none chosen.
[ -z "$chosen" ] && exit