mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 04:08:30 -05:00
14 lines
328 B
Bash
Executable File
14 lines
328 B
Bash
Executable File
#!/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
|