slstatus/components
Laslo Hunhold f17f39d0a2 Refactor keymap.c
- Get rid of camel-casing
 - Don't use all-caps for variable names
 - use LEN()-macro
 - use strncmp() rather than strstr() for prefix-checking
 - clean up the tokenizer-loop and don't use copies
 - make the loop more readable by separating different breaking
   conditions
 - stricter error-checking and cleanup
 - store the layout directly with bprintf rather than having
   a separate buffer
2018-05-23 19:56:16 +02:00
..
backlight.c Add basic backlight percentage support 2018-05-22 12:40:31 +02:00
battery.c battery_remaining: check for division by zero 2018-05-21 00:42:06 +02:00
cpu.c Merge fmt_human_2 and fmt_human_10 to one function 2018-05-21 14:44:21 +02:00
datetime.c Add warn() and die() 2018-05-18 11:13:05 +02:00
disk.c Merge fmt_human_2 and fmt_human_10 to one function 2018-05-21 14:44:21 +02:00
entropy.c Refactor entropy.c 2018-05-20 00:19:52 +02:00
hostname.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ip.c ip: fixed memory leak 2018-05-20 22:06:54 +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
keymap.c Refactor keymap.c 2018-05-23 19:56:16 +02:00
load_avg.c Remove fmt from load_avgs for consistency 2018-05-21 14:14:45 +02:00
netspeeds.c netspeeds: Fix indentation 2018-05-22 12:42:31 +02:00
num_files.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ram.c Merge fmt_human_2 and fmt_human_10 to one function 2018-05-21 14:44:21 +02:00
run_command.c Check return value of pclose() 2018-05-20 01:01:26 +02:00
swap.c swap.c: Refactor getstats() and its usage 2018-05-21 23:05:39 +02:00
temperature.c Remove units from numbers 2018-05-21 00:16:54 +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 Remove units from numbers 2018-05-21 00:16:54 +02:00
wifi.c Remove units from numbers 2018-05-21 00:16:54 +02:00