You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Given slstatus is a tool that runs in the background, most likely run from .xinitrc, it's important to prepend the name of the tool to error messages so it becomes clear where the error is coming from. To make this much more consistent, this commit adds warn() and die() utility functions consistent with other suckless projects and adapts all calls to fprintf(stderr, *) to the warn() and die() functions, greatly increasing the readability of the code. |
8 years ago | |
|---|---|---|
| .. | ||
| battery.c | 8 years ago | |
| cpu.c | 8 years ago | |
| datetime.c | 8 years ago | |
| disk.c | 8 years ago | |
| entropy.c | 8 years ago | |
| hostname.c | 8 years ago | |
| ip.c | 8 years ago | |
| kernel_release.c | 8 years ago | |
| keyboard_indicators.c | 8 years ago | |
| load_avg.c | 8 years ago | |
| num_files.c | 8 years ago | |
| ram.c | 8 years ago | |
| run_command.c | 8 years ago | |
| swap.c | 8 years ago | |
| temperature.c | 8 years ago | |
| uptime.c | 8 years ago | |
| user.c | 8 years ago | |
| volume.c | 8 years ago | |
| wifi.c | 8 years ago | |