cmc/dotfiles

Using GNU Stow to manage my dotfiles.

clone: git clone https://gitbay.org/cmc/dotfiles.git

01978e84e15d6498dabb8ad58283dc0949729f25

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-05-14T20:57:54Z

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)"