slstatus/components
Laslo Hunhold 46c4540dd2 Implement fmt_human_2() and fmt_human_10()
These functions take the raw number and a unit and automatically
print it out "scaled down" to a proper SI-prefix, for powers of 2
and 10 respectively.

Apply them to the 2-power cases and keep the 10-power for a later
commit.
2018-05-19 22:58:21 +02:00
..
battery.c Add the percent sign to *_perc functions 2018-05-19 20:33:06 +02:00
cpu.c Add the percent sign to *_perc functions 2018-05-19 20:33:06 +02:00
datetime.c Add warn() and die() 2018-05-18 11:13:05 +02:00
disk.c Implement fmt_human_2() and fmt_human_10() 2018-05-19 22:58:21 +02:00
entropy.c entropy: Small fix 2018-05-06 23:09:36 +02:00
hostname.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ip.c Simplify ipv* functions 2018-05-19 13:34:18 +02:00
kernel_release.c Add warn() and die() 2018-05-18 11:13:05 +02:00
keyboard_indicators.c Add warn() and die() 2018-05-18 11:13:05 +02:00
load_avg.c Add warn() and die() 2018-05-18 11:13:05 +02:00
netspeeds.c Implement fmt_human_2() and fmt_human_10() 2018-05-19 22:58:21 +02:00
num_files.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ram.c Implement fmt_human_2() and fmt_human_10() 2018-05-19 22:58:21 +02:00
run_command.c Add warn() and die() 2018-05-18 11:13:05 +02:00
swap.c Implement fmt_human_2() and fmt_human_10() 2018-05-19 22:58:21 +02:00
temperature.c Add warn() and die() 2018-05-18 11:13:05 +02:00
uptime.c uptime: Format function is static 2018-05-19 01:55:31 +02:00
user.c Add warn() and die() 2018-05-18 11:13:05 +02:00
volume.c Add the percent sign to *_perc functions 2018-05-19 20:33:06 +02:00
wifi.c Add the percent sign to *_perc functions 2018-05-19 20:33:06 +02:00