everything = help

This commit is contained in:
Jes Olson 2022-10-04 14:01:36 -05:00
parent 30fa9456f5
commit a234c4c5c3

6
shmoji
View file

@ -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