From f18db3d84a2f735513bbdd4376d7221b1662fa67 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 18 Jul 2018 19:35:45 -0400 Subject: [PATCH] weather popup now color --- .scripts/i3weather | 2 +- .scripts/popweather | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 .scripts/popweather diff --git a/.scripts/i3weather b/.scripts/i3weather index 1c4e400..4d36ef1 100755 --- a/.scripts/i3weather +++ b/.scripts/i3weather @@ -4,7 +4,7 @@ location="" [[ "$location" != "" ]] && location="~${location// /+}" -[[ $BLOCK_BUTTON = "1" ]] && st -e w3m wttr.in/$location +[[ $BLOCK_BUTTON = "1" ]] && st -e popweather curl -s wttr.in/$location > ~/.weatherreport diff --git a/.scripts/popweather b/.scripts/popweather new file mode 100755 index 0000000..fa946f0 --- /dev/null +++ b/.scripts/popweather @@ -0,0 +1,2 @@ +#!/bin/bash +cat ~/.weatherreport && read