Files
dots/laptop-nord/.config/polybar/scripts/ip.sh
Marco Thomas 246e1fb1fc Push dots
2020-08-21 17:10:59 +02:00

9 lines
161 B
Bash
Executable File

#!/bin/bash
PUBLIC_IP=`wget http://ipecho.net/plain -O - -q ; echo`
WLO1=`hostname -I | awk '{print $1}'`
SSID=`iwgetid -r`
echo "$PUBLIC_IP - $WLO1 - $SSID"