commit 820f43c10e4e08fc8aba429676c9d9ca0d87f13e
parent 9121d45f315b0ab5be119346e146932b01ee477f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 24 Jul 2019 23:23:25 +0200
weather: show the weather in your terminal
Former-commit-id: 7b748c7a6174473c9380de0b0b40ecb74e3590f3
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -48,6 +48,7 @@ If you read a script and see some improvements that could be made, let me know.
* `vimwiki_md`: convert vimwiki files to markdown, using the vimwiki_md_ex expressions file for sed. Still a work-in-progress and probably very buggy.
* `vwtags.py`: generate ctags tag files for vimwiki documents.
* `wattpad-scrape`: downloads a Wattpad book as an EPUB file. Usage: `wattpad-scrape $wattpad_url`
+* `weather`: show the weather for a city, pass the city as an argument. uses http://wttr.in.
## Binaries in `dotfiles/bin`:
These are third-party binaries that I didn't write. I don't take credit for any of them. I only have them in the folder for convenience.
diff --git a/scripts/weather b/scripts/weather
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+curl -s wttr.in/${1:-amsterdam} | less -R