scripts/show_ip.sh

6 lines
103 B
Bash
Executable File

CURRENT_IP=$(curl -s https://api.ipify.org/)
echo $CURRENT_IP
notify-send "Current IP" "$CURRENT_IP"