X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=bin%2Fkhatus_bar;h=bd31283b437ec3451e98acc67e241bccd2cbfc81;hb=9d47c179d190e9b01ef8f6c6d56c78ca1ecfabcf;hp=0be697928b6b6335d8c3ac30668edf0d6f98073f;hpb=ae2fb49299a202eb53caadc16c772557c73bf163;p=khatus.git diff --git a/bin/khatus_bar b/bin/khatus_bar index 0be6979..bd31283 100755 --- a/bin/khatus_bar +++ b/bin/khatus_bar @@ -199,9 +199,9 @@ function make_status_cpu( l, t, f) { function make_status_disk( u, w, r, src_u, src_io) { src_u = "khatus_sensor_disk_space" src_io = "khatus_sensor_disk_io" - u = cache_get_fmt_def(src_u , "disk_usage_percentage", 10, "%s") - w = cache_get_fmt_def(src_io , "sectors_written" , 5, "%0.3f") - r = cache_get_fmt_def(src_io , "sectors_read" , 5, "%0.3f") + u = cache_get_fmt_def(src_u , "disk_usage_percentage", 10, "%s") + w = cache_get_fmt_def(src_io, "sectors_written" , 5, "%0.3f") + r = cache_get_fmt_def(src_io, "sectors_read" , 5, "%0.3f") return sprintf("D=[%s%% %s▲ %s▼]", u, w, r) }