From 2874214003d88825f4949525902fc1e8f0cb1b12 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 2 Oct 2025 06:50:47 +0200 Subject: Add info for wired network --- status-linux | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/status-linux b/status-linux index 4f91dfe..a2061d1 100755 --- a/status-linux +++ b/status-linux @@ -36,6 +36,13 @@ fi # Thank you iwctl for saving us from this dreadful existence network="$(iwctl station wlan0 show | grep 'Connected network' | awk '{print $3}')" +if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then + if [ -z "$network" ]; then + network="eth" + else + network="eth & $network" + fi +fi noticount=$(notify show | wc -l) -- cgit v1.3