diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-06-13 14:15:14 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-06-13 14:15:14 +0300 |
commit | bd98ceb916d838f144f9e6c55bfbb11f33ed906b (patch) | |
tree | 9592ed8b741faa0ad85105a2273872827be292d2 /dotfiles/.local/bin | |
parent | 6f705db1505a20c3bd5b56c11d318f5e4c6fbda7 (diff) | |
download | swayrice-bd98ceb916d838f144f9e6c55bfbb11f33ed906b.tar.gz swayrice-bd98ceb916d838f144f9e6c55bfbb11f33ed906b.zip |
move weath to script
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/weath | 7 |
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" |