aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatus-linux7
1 files changed, 7 insertions, 0 deletions
diff --git a/status-linux b/status-linux
index 4f91dfe..a2061d1 100755
--- a/status-linux
+++ b/status-linux
@@ -36,6 +36,13 @@ fi
36 36
37# Thank you iwctl for saving us from this dreadful existence 37# Thank you iwctl for saving us from this dreadful existence
38network="$(iwctl station wlan0 show | grep 'Connected network' | awk '{print $3}')" 38network="$(iwctl station wlan0 show | grep 'Connected network' | awk '{print $3}')"
39if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then
40 if [ -z "$network" ]; then
41 network="eth"
42 else
43 network="eth & $network"
44 fi
45fi
39 46
40noticount=$(notify show | wc -l) 47noticount=$(notify show | wc -l)
41 48

Generated with cgit - Back to sebastiano.tronto.net