diff --git a/neofetch b/neofetch index 48b96d21..c8aee466 100755 --- a/neofetch +++ b/neofetch @@ -3923,6 +3923,11 @@ get_public_ip() { fi } +get_hwaddr() { + hwaddr="$(ip route get 1 | awk '{print $5}')" + hwaddr="$(ip link show dev "$hwaddr" | awk '/ether/ {print $2}')" +} + get_users() { users="$(who | awk '!seen[$1]++ {printf $1 ", "}')" users="${users%\,*}"