forked from GH-forks/shmoji
everything = help
This commit is contained in:
parent
30fa9456f5
commit
a234c4c5c3
1 changed files with 3 additions and 3 deletions
6
shmoji
6
shmoji
|
@ -18,9 +18,6 @@ die() {
|
|||
}
|
||||
|
||||
case "$cmd" in
|
||||
-h|--help|help|"")
|
||||
printf "%s\n" "usage: shmoji [bemenu | download]"
|
||||
;;
|
||||
download)
|
||||
command -v curl > /dev/null || die 'curl not found'
|
||||
mkdir -p "$emojidb"
|
||||
|
@ -34,6 +31,9 @@ case "$cmd" in
|
|||
emoji=$(cat "$emojidb/emojis.txt" | bemenu -c -W 0.2 -l 20)
|
||||
printf "%s" "$emoji" | cut -d " " -f 1 | wtype -
|
||||
;;
|
||||
*)
|
||||
printf "%s\n" "usage: shmoji [bemenu | download]"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue