summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-05-14 15:57:54 -0500
committerChristian Cleberg <[email protected]>2026-05-14 15:57:54 -0500
commit01978e84e15d6498dabb8ad58283dc0949729f25 (patch)
tree1549a3d210e2e347c52646ce2d5c4c894e65dae5
parent70f75e110ea3076dd6429f2d03dfe54e8c25669b (diff)
downloaddotfiles-01978e84e15d6498dabb8ad58283dc0949729f25.tar.gz
dotfiles-01978e84e15d6498dabb8ad58283dc0949729f25.tar.bz2
dotfiles-01978e84e15d6498dabb8ad58283dc0949729f25.zip
update macos motd
-rwxr-xr-xmacos/motd/motd.sh2
1 files changed, 1 insertions, 1 deletions
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)"