archy-slstatus/components
Laslo Hunhold 80fc20d1d6 Add warn() and die()
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.
2018-05-18 11:13:05 +02:00
..
battery.c Add warn() and die() 2018-05-18 11:13:05 +02:00
cpu.c Add warn() and die() 2018-05-18 11:13:05 +02:00
datetime.c Add warn() and die() 2018-05-18 11:13:05 +02:00
disk.c Add warn() and die() 2018-05-18 11:13:05 +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 Add warn() and die() 2018-05-18 11:13:05 +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
num_files.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ram.c consistent calculation of ram_* on openbsd 2018-05-16 12:24:43 +02:00
run_command.c Add warn() and die() 2018-05-18 11:13:05 +02:00
swap.c Add warn() and die() 2018-05-18 11:13:05 +02:00
temperature.c Add warn() and die() 2018-05-18 11:13:05 +02:00
uptime.c Add warn() and die() 2018-05-18 11:13:05 +02:00
user.c Add warn() and die() 2018-05-18 11:13:05 +02:00
volume.c Add warn() and die() 2018-05-18 11:13:05 +02:00
wifi.c Add warn() and die() 2018-05-18 11:13:05 +02:00