From 8417f004524fed935c382412a96b89a9e68c2908 Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Sat, 14 Mar 2020 21:33:04 -0700 Subject: [PATCH] weather works and no longer exceeds ipinfo.io unauthenticated api limits --- .internet.sh.swp | Bin 12288 -> 0 bytes dracula.tmux | 2 +- internet.sh | 4 +++- 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 .internet.sh.swp diff --git a/.internet.sh.swp b/.internet.sh.swp deleted file mode 100644 index b2cb4615a675dcecf9f4c0f9e2e9399db3599286..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI&&q~8E90%~sn+N}(FA&{D54M|LhIkZ2K?Fg)30azMkv1twI^9Hl8K1|SZ=o0Q z0sO^H4?_@k8+;32(v;-a@VS-#x~wbyzCX1e zQwTs{Mu9ryJDsJAz1?;zR%mW+@b$He8H-^X1Rwwb2tWV=5P$##ATW;tp=z)vI{3om z@GFzCF*Q!67$5)v2tWV=5P$##AOHafKmY;|m_q@PG4`>{*h&2Gr~m&y-~aD)^G124 zJX1!LA?1#8OQ|S^Qc!LvnsP?@t}}-YI5Gqv009U<00Izz00bZa0SG|gZ-G*1!25qUE{(&vBdlpx1ZO4jDFP*Le*PcsJ6e{Df%D4$Wi5>Bry6SsQ zl)o!;>v&IuzH-|1X!W>Ho=awRdS( Nn^c(r?+WU${{j@HcxV6s diff --git a/dracula.tmux b/dracula.tmux index 1c89774..bd3a4ad 100755 --- a/dracula.tmux +++ b/dracula.tmux @@ -38,7 +38,7 @@ main() tmux set-option -g message-style "bg=${gray},fg=${white}" # run weather script in background - ./sleep_weather.sh & + ./sleep_weather.sh > weather.txt & # status bar tmux set-option -g status-style "bg=${gray},fg=${white}" diff --git a/internet.sh b/internet.sh index 11ebaf7..9582dac 100755 --- a/internet.sh +++ b/internet.sh @@ -1,9 +1,11 @@ -#!/usr/bin/env bash +#/usr/bin/env bash #author: Dane Williams #script for gathering internet connectivity info #script is called in dracula.tmux program + + main() {