summaryrefslogtreecommitdiff
path: root/cfg/i3/fetch_public_ip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cfg/i3/fetch_public_ip.sh')
-rwxr-xr-xcfg/i3/fetch_public_ip.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/cfg/i3/fetch_public_ip.sh b/cfg/i3/fetch_public_ip.sh
new file mode 100755
index 0000000..e2d2819
--- /dev/null
+++ b/cfg/i3/fetch_public_ip.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+while true; do
+ curl -s ifconfig.me > ~/.config/i3/public_ip.txt
+ sleep 3600
+done &