05273b03fd
The boolean flag 'watt_as_unit' may be used without being initialized if the configured battery path does not contain expected statistics (for example if it is misconfigured and points to AC adapter info or simply an unrelated file). Even though it does not cause ill effects, it causes a warning (true positive) when running i3status under Valgrind. Initialize the variable to make code well-defined. |
||
---|---|---|
contrib | ||
include | ||
man | ||
src | ||
yajl-fallback/yajl | ||
.gitignore | ||
CHANGELOG | ||
i3status.c | ||
i3status.conf | ||
LICENSE | ||
Makefile | ||
README |
┌────────────────────────────┐ │ Description │ └────────────────────────────┘ i3status is a small program (about 1500 SLOC) for generating a status bar for i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient by issuing a very small number of system calls, as one generally wants to update such a status line every second. This ensures that even under high load, your status bar is updated correctly. Also, it saves a bit of energy by not hogging your CPU as much as spawning the corresponding amount of shell commands would. ┌────────────────────────────┐ │ Development │ └────────────────────────────┘ i3status has the following dependencies: • libconfuse-dev • libyajl-dev • libasound2-dev • libiw-dev • libcap2-bin (for getting network status without root permissions) • asciidoc (only for the documentation) On debian-based systems, the following line will install all requirements: apt-get install libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libcap2-bin ┌────────────────────────────┐ │ Upstream │ └────────────────────────────┘ i3status is developed at http://code.i3wm.org/i3status You may clone the git-repository using git clone git://code.i3wm.org/i3status Please submit patches at http://cr.i3wm.org/ ┌────────────────────────────┐ │ Compilation │ └────────────────────────────┘ Compiling is done with the usual make-line make && sudo make install