diff options
| author | Christian Cleberg <[email protected]> | 2026-05-14 13:56:04 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-05-14 13:56:04 -0500 |
| commit | 70f75e110ea3076dd6429f2d03dfe54e8c25669b (patch) | |
| tree | ea30b07a6fd70b9491eb9f1007e00c07a7873878 | |
| parent | eae1c6583fda121a380d33cd1814a30f5452b75a (diff) | |
| download | dotfiles-70f75e110ea3076dd6429f2d03dfe54e8c25669b.tar.gz dotfiles-70f75e110ea3076dd6429f2d03dfe54e8c25669b.tar.bz2 dotfiles-70f75e110ea3076dd6429f2d03dfe54e8c25669b.zip | |
update macos motd
| -rw-r--r-- | common/ispell/.ispell_english | 5 | ||||
| -rwxr-xr-x | macos/motd/motd.sh | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/common/ispell/.ispell_english b/common/ispell/.ispell_english index 3ffd643..4aeff39 100644 --- a/common/ispell/.ispell_english +++ b/common/ispell/.ispell_english @@ -25364,6 +25364,7 @@ LSAT LSD/M Lt ltd +LTS Lu/M Luanda/M Luann/M @@ -25635,6 +25636,7 @@ mackintosh/MS MacLeish/M Macmillan/M Macon/M +macOS macrame/M macro/MS macrobiotic/S @@ -33032,6 +33034,7 @@ plainsmen plainsong/M plainspoken plaint/MSV +plaintext plaintiff/MS plaintive/Y plait/DGMS @@ -40403,6 +40406,7 @@ sour/DGMPRSTY source/ADGMS Sourceforge/M sourcehut +SourceHut Sourcehut's sourdough/M sourdoughs @@ -47467,6 +47471,7 @@ who've whoa whodunit/MS whoever +WHOIS whole/MPS wholefood/S wholegrain diff --git a/macos/motd/motd.sh b/macos/motd/motd.sh index 1d1ea0c..c95256b 100755 --- a/macos/motd/motd.sh +++ b/macos/motd/motd.sh @@ -1 +1,12 @@ -echo "Welcome back, $USER." +BOLD='\033[1m' +DIM='\033[2m' +RESET='\033[0m' + +VPN=$(mullvad status 2>/dev/null | head -1 || echo "disconnected") +IP=$(curl -s ifconfig.pro) + +printf "\n" +printf " ${BOLD}%s${RESET} ${DIM}%s${RESET}\n" "$USER" "$(uname -sr)" +printf " ${DIM}vpn ${RESET}%s\n" "$VPN" +printf " ${DIM}ip ${RESET}%s\n" "$IP" +printf "\n" |
