config/eww ahrc-laptop : polling -> listening
This commit is contained in:
parent
8a49491cff
commit
3c191ef7a6
1 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,8 @@ print_network_status() {
|
|||
"$(print_infos "$device")"
|
||||
}
|
||||
|
||||
while :; do
|
||||
print_network_status
|
||||
tail -f -n 0 /run/dhcpcd/log /var/log/iwd/current | \
|
||||
while read -r _unused; do
|
||||
print_network_status
|
||||
sleep 5
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue