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