Add tmux-ip helper script with public/internal IP fallback

This commit is contained in:
2026-03-23 04:18:11 -07:00
parent bc9f9d8094
commit 0affdd1fb7

2
.local/bin/tmux-ip Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
curl -s --connect-timeout 3 https://api.ipify.org 2>/dev/null || hostname -I | awk '{print $1}'