summaryrefslogtreecommitdiff
path: root/weather.sh
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-06 21:01:50 -0500
committer53hornet <atc@53hor.net>2021-12-06 21:01:50 -0500
commitebfbeb7c5c92edb0c1d39450928b6227679327e5 (patch)
treeecf9cca2fcf5d52453f0fc539fdee47c4bf66355 /weather.sh
parent88784a46b3f0faf3c85010cbc3e2fe3c26939879 (diff)
downloadscripts-ebfbeb7c5c92edb0c1d39450928b6227679327e5.tar.xz
scripts-ebfbeb7c5c92edb0c1d39450928b6227679327e5.zip
feat: add passmenu w/ rofi, right click weather block opens windy
Diffstat (limited to 'weather.sh')
-rwxr-xr-xweather.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/weather.sh b/weather.sh
index cb6a0ca..6bd0791 100755
--- a/weather.sh
+++ b/weather.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+[ "$BLOCK_BUTTON" = 3 ] && $BROWSER 'https://www.windy.com/36.865/-76.468?36.362,-76.468,8'
+
API_KEY="$(cat ~/.config/openweathermap)"
ZIP_CODE=23435