Commit 01978e84e1
Verified · cmc
Layout: unified · split
macos/motd/motd.sh +1 −1
| @@ -3,7 +3,7 @@ DIM='\033[2m' | ||
| 3 | 3 | RESET='\033[0m' |
| 4 | 4 | |
| 5 | 5 | VPN=$(mullvad status 2>/dev/null | head -1 || echo "disconnected") |
| 6 | IP=$(curl -s ifconfig.pro) | |
| 6 | IP=$(mullvad status | rg -o '(\d{1,3}\.){3}\d{1,3}') | |
| 7 | 7 | |
| 8 | 8 | printf "\n" |
| 9 | 9 | printf " ${BOLD}%s${RESET} ${DIM}%s${RESET}\n" "$USER" "$(uname -sr)" |