From 01978e84e15d6498dabb8ad58283dc0949729f25 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 14 May 2026 15:57:54 -0500 Subject: update macos motd --- macos/motd/motd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/motd/motd.sh b/macos/motd/motd.sh index c95256b..3099d1f 100755 --- a/macos/motd/motd.sh +++ b/macos/motd/motd.sh @@ -3,7 +3,7 @@ DIM='\033[2m' RESET='\033[0m' VPN=$(mullvad status 2>/dev/null | head -1 || echo "disconnected") -IP=$(curl -s ifconfig.pro) +IP=$(mullvad status | rg -o '(\d{1,3}\.){3}\d{1,3}') printf "\n" printf " ${BOLD}%s${RESET} ${DIM}%s${RESET}\n" "$USER" "$(uname -sr)" -- cgit v1.2.3