added nerd fonts in dmenuunicode
This commit is contained in:
parent
a04391cd09
commit
aa7b6abc9b
|
|
@ -3,11 +3,11 @@
|
||||||
# The famous "get a menu of emojis to copy" script.
|
# The famous "get a menu of emojis to copy" script.
|
||||||
|
|
||||||
# Get user selection via dmenu from emoji file.
|
# Get user selection via dmenu from emoji file.
|
||||||
chosen=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -l 30 | sed "s/ .*//")
|
chosen=$(cut -d ';' -f1 ~/.local/share/chars/* | dmenu -i -l 30 | sed "s/ .*//")
|
||||||
|
|
||||||
# Exit if none chosen.
|
# Exit if none chosen.
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
|
|
||||||
xdotool type "$chosen"
|
xdotool type "$chosen"
|
||||||
printf "$chosen" | xclip -selection clipboard
|
printf "$chosen" | xclip -selection clipboard
|
||||||
notify-send "'$chosen' copied to clipboard." &
|
notify-send "'$chosen' copied to clipboard." &
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue