summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-07-18 19:35:45 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-07-18 19:35:45 -0400
commitf18db3d84a2f735513bbdd4376d7221b1662fa67 (patch)
tree6192cd22a2b2bccf8f347f3ff1c7f9180eefc702 /.scripts
parentda90073789fb06f24ec2b5087f6271dfac651326 (diff)
downloadeibhear-f18db3d84a2f735513bbdd4376d7221b1662fa67.tar.gz
eibhear-f18db3d84a2f735513bbdd4376d7221b1662fa67.tar.zst
eibhear-f18db3d84a2f735513bbdd4376d7221b1662fa67.zip
weather popup now color
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/i3weather2
-rwxr-xr-x.scripts/popweather2
2 files changed, 3 insertions, 1 deletions
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