summaryrefslogtreecommitdiff
path: root/src/general.c
AgeCommit message (Collapse)Author
2013-11-09fix slurp(), it needs to read size-1 for the trailing NULMichael Stapelberg
2011-07-13slurp(): null-terminate buffer (Thanks mist)Michael Stapelberg
2010-11-28Use kill(pid, 0) to check if the process is aliveMichael Stapelberg
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg
We finally switched to libconfuse for a configuration file format which does not require much work for the programmer nor for the user. Plus, it avoids the Not-Invented-Here syndrome of yet another config file format. Furthermore, as a consequence of providing format strings for every "module" (ipv6, wireless, …), we directly print the output and thus we needed to drop support for wmii. This allowed us to get rid of quite some complexity. Documentation about the new configuration file and options will follow. This commit is the beginning of what will be i3status v2.0.
2009-07-25Return "no battery" instead of dying if a battery wasn’t found (Thanks Mirko)Michael Stapelberg
2009-07-21Add modelines and retab! all filesMichael Stapelberg
2009-07-21Correctly handle the order of itemsMichael Stapelberg
2009-07-21Use own files for each function, add get_ipv6_addr.cMichael Stapelberg