From bd98ceb916d838f144f9e6c55bfbb11f33ed906b Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sat, 13 Jun 2020 14:15:14 +0300 Subject: move weath to script --- dotfiles/.local/bin/weath | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dotfiles/.local/bin/weath (limited to 'dotfiles/.local') 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" -- cgit v1.2.3