mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-05 13:48:21 -05:00
14 lines
328 B
Plaintext
14 lines
328 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
case $1 in
|
||
|
--weather) curl wttr.in/$2;;
|
||
|
--moon) curl wttr.in/Moon;;
|
||
|
--qr) curl qrenco.de/$2;;
|
||
|
--cheat) curl https://cht.sh/$2;;
|
||
|
--crypto) curl rate.sx/$2;;
|
||
|
--url) curl -F 'shorten='$2'' https://0x0.st;;
|
||
|
--news) curl getnews.tech/$2;;
|
||
|
--dict) curl dict://dict.org/d:$2;;
|
||
|
*) ;;
|
||
|
esac
|