Check wlan in status instead of eth0
Signed-off-by: Nicolás A. Ortega Froysa <nicolas.ortega@zevenet.com>
This commit is contained in:
parent
2794405fb7
commit
d0f84cb481
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
DATE="$(date +"%F %H:%M" )"
|
||||
NETWORK="eth: $(cat /sys/class/net/enx00e04c682335/operstate)"
|
||||
NETWORK="wlan: $(cat /sys/class/net/wlp2s0/operstate)"
|
||||
SPACE="$(cat $HOME/.cache/free-space)"
|
||||
vol_status="$(cat $HOME/.cache/audio-control/vol_status)"
|
||||
vol_level="$(cat $HOME/.cache/audio-control/vol_level)%"
|
||||
|
Loading…
Reference in New Issue
Block a user