Files
dots/files/.config/polybar/scripts/ip.sh
Marco Thomas 55dc499bab Rename
2020-09-30 18:46:26 +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"