mirror of
https://github.com/i3/i3status
synced 2026-09-14 02:18:16 -04:00
No description
- C 89.9%
- Python 3.3%
- Meson 2.9%
- Perl 2.5%
- Shell 1.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Fixes valgrind-found bug of the `for (walk = buf, ...` loop
reading all of `buf` even though `buf` is null-terminated string
(an only partly initialised char array).
valgrind ./i3status -c ../etc/i3status.conf --run-once
Conditional jump or move depends on uninitialised value(s)
at 0x40F15A: slurp_battery_info (print_battery_info.c:164)
by 0x40FA07: slurp_all_batteries (print_battery_info.c:558)
by 0x40FCA6: print_battery_info (print_battery_info.c:612)
by 0x409CA2: main (i3status.c:753)
|
||
| .github/workflows | ||
| contrib | ||
| etc | ||
| include | ||
| man | ||
| meson | ||
| src | ||
| testcases | ||
| travis | ||
| .clang-format | ||
| .gitignore | ||
| CHANGELOG | ||
| CONTRIBUTING.md | ||
| i3status.c | ||
| I3STATUS_VERSION | ||
| LICENSE | ||
| meson.build | ||
| meson_options.txt | ||
| README.md | ||
i3status
Description
i3status is a small program 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
- libnl-genl-3-dev
- meson (compile-time only dependency)
- asciidoc (only for the documentation)
- libpulse-dev (for getting the current volume using PulseAudio)
On debian-based systems, the following line will install all requirements:
apt-get install autoconf libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev meson
Upstream
i3status is developed at https://github.com/i3/i3status
Compilation
Prefer installing i3status via your Linux distribution’s package manager.
If you absolutely have to build from source, use:
mkdir build
cd build
meson ..
ninja
sudo ninja install