mirror of
https://github.com/biox/shmoji.git
synced 2024-11-10 01:38:49 +01:00
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
|
case "$cmd" in
|
||||||
-h|--help|help|"")
|
|
||||||
printf "%s\n" "usage: shmoji [bemenu | download]"
|
|
||||||
;;
|
|
||||||
download)
|
download)
|
||||||
command -v curl > /dev/null || die 'curl not found'
|
command -v curl > /dev/null || die 'curl not found'
|
||||||
mkdir -p "$emojidb"
|
mkdir -p "$emojidb"
|
||||||
|
@ -34,6 +31,9 @@ case "$cmd" in
|
||||||
emoji=$(cat "$emojidb/emojis.txt" | bemenu -c -W 0.2 -l 20)
|
emoji=$(cat "$emojidb/emojis.txt" | bemenu -c -W 0.2 -l 20)
|
||||||
printf "%s" "$emoji" | cut -d " " -f 1 | wtype -
|
printf "%s" "$emoji" | cut -d " " -f 1 | wtype -
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
printf "%s\n" "usage: shmoji [bemenu | download]"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue