X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=x2%2Fsrc%2Fawk%2Fexe%2Fbar.awk;h=84f0adac536f0c0839ce6739c2688ab06367cbe4;hp=9b7328c9888538d1217a1d609c80f4ebe90dcf87;hb=daf7f29d0b4bc4aaf031fe9577ddfbe3ff4c316c;hpb=01da02dd035f18586b3435743c6840ad77ba62b9 diff --git a/x2/src/awk/exe/bar.awk b/x2/src/awk/exe/bar.awk index 9b7328c..84f0ada 100644 --- a/x2/src/awk/exe/bar.awk +++ b/x2/src/awk/exe/bar.awk @@ -182,6 +182,11 @@ function bar_make_status_net_wifi(interface, src) { return cache_get_fmt_def(src, "status" Kfs interface, 10, "%s") } +function bar_make_status_net_wifi_link(interface, src) { + src = "khatus_sensor_net_wifi_status" + return cache_get_fmt_def(src, "link" Kfs interface, 10, "%d%%") +} + # ----------------------------------------------------------------------------- # Bluetooth # -----------------------------------------------------------------------------