aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/weath
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/weath')
-rwxr-xr-xdotfiles/.local/bin/weath7
1 files changed, 7 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/weath b/dotfiles/.local/bin/weath
new file mode 100755
index 0000000..d644bfb
--- /dev/null
+++ b/dotfiles/.local/bin/weath
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+location="Saint Petersburg"
+
+[ -n "$1" ] && location=$1
+
+curl wttr.in/"$location"