diff options
Diffstat (limited to 'dotfiles/.local/bin/i3barweather')
-rwxr-xr-x | dotfiles/.local/bin/i3barweather | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dotfiles/.local/bin/i3barweather b/dotfiles/.local/bin/i3barweather deleted file mode 100755 index 0ae6d3c..0000000 --- a/dotfiles/.local/bin/i3barweather +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -location="Saint Petersburg" - -if [[ "$location" != "" ]] -then - location="~${location// /+}" -fi - -forecast=$(curl -s wttr.in/$location?format=1) - -if [[ ${#forecast} -gt 30 ]] -then - exit -fi - -echo $forecast - |