dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit beaa788dea2fef0b447f7c455dbb09f088fc464c
parent dcdf5ab970195428ecc7522602c484130d383d63
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 16 Jun 2018 08:17:17 -0400

weather module rain check fix

Diffstat:
M.scripts/i3weather | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.scripts/i3weather b/.scripts/i3weather @@ -12,6 +12,6 @@ if [[ "$location" != "" ]] fi curl -s wttr.in/$location > ~/.weatherreport -echo -n $(cat ~/.weatherreport | sed -n 16p | sed -e 's/[^m]*m//g' | grep -o "[0-9]*%" | sort -n | sed -e "$!d;s/^/☔ /") +echo -n $(cat ~/.weatherreport | sed -n 16p | sed -e 's/[^m]*m//g' | grep -o "[0-9]*%" | sort -n | sed -e '$!d' | sed -e "s/^/☔ /g") cat ~/.weatherreport | sed -n 13p | sed -e 's/[^m]*m//g;s/[^0-9]/ /g;s/ /\n/g;/^s*$/d' | grep [0-9] | sort -n | sed -e 1b -e '$!d' | tr '\n' ' ' | awk '{print " ❄️",$1 "°","☀️",$2 "°"}'