From e1480fa3b24c0806cdbeab643a0d54b07716478e Mon Sep 17 00:00:00 2001 From: sevi-kun Date: Sun, 25 Feb 2024 23:11:59 +0100 Subject: [PATCH] adding public ip scraper --- show_ip.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/show_ip.sh b/show_ip.sh index 1bdfd7d..1a749d8 100755 --- a/show_ip.sh +++ b/show_ip.sh @@ -1,2 +1,5 @@ -ip_value=$(curl -s https://api.ipify.org/) -echo $ip_value +CURRENT_IP=$(curl -s https://api.ipify.org/) + +echo $CURRENT_IP +notify-send "Current IP" "$CURRENT_IP" +