From: Siraaj Khandkar Date: Sun, 19 Aug 2018 16:01:01 +0000 (-0400) Subject: Update alignment X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=224be98a3467adc3171247eeaf9df8a37b76c062;p=khatus.git Update alignment --- 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) }