mirror of https://github.com/pikami/slstatus.git
c1f79d741a
The swapctl(2) function fills the swapent struct with 512KB blocks. As we want to display in GB, i just modified the calculation for this to get the expected output. |
||
---|---|---|
.. | ||
battery.c | ||
cpu.c | ||
datetime.c | ||
disk.c | ||
entropy.c | ||
hostname.c | ||
ip.c | ||
kernel_release.c | ||
keyboard_indicators.c | ||
load_avg.c | ||
num_files.c | ||
ram.c | ||
run_command.c | ||
swap.c | ||
temperature.c | ||
uptime.c | ||
user.c | ||
volume.c | ||
wifi.c |