diff options
| -rwxr-xr-x | status-linux | 7 |
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 |
| 38 | network="$(iwctl station wlan0 show | grep 'Connected network' | awk '{print $3}')" | 38 | network="$(iwctl station wlan0 show | grep 'Connected network' | awk '{print $3}')" |
| 39 | if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then | ||
| 40 | if [ -z "$network" ]; then | ||
| 41 | network="eth" | ||
| 42 | else | ||
| 43 | network="eth & $network" | ||
| 44 | fi | ||
| 45 | fi | ||
| 39 | 46 | ||
| 40 | noticount=$(notify show | wc -l) | 47 | noticount=$(notify show | wc -l) |
| 41 | 48 | ||
