2020-03-12 17:45:35 +00:00
|
|
|
|
# i3status
|
2015-09-23 21:01:09 +00:00
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
2017-12-11 21:50:16 +00:00
|
|
|
|
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.
|
2015-09-23 21:01:09 +00:00
|
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
|
|
i3status has the following dependencies:
|
|
|
|
|
* libconfuse-dev
|
|
|
|
|
* libyajl-dev
|
|
|
|
|
* libasound2-dev
|
2015-09-24 19:47:02 +00:00
|
|
|
|
* libnl-genl-3-dev
|
2020-03-12 17:45:35 +00:00
|
|
|
|
* autoconf (compile-time only dependency)
|
2015-09-23 21:01:09 +00:00
|
|
|
|
* 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:
|
|
|
|
|
```bash
|
2020-03-12 17:45:35 +00:00
|
|
|
|
apt-get install autoconf libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev
|
2015-09-23 21:01:09 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Upstream
|
|
|
|
|
|
|
|
|
|
i3status is developed at https://github.com/i3/i3status
|
|
|
|
|
|
2020-03-12 17:45:35 +00:00
|
|
|
|
## Compilation
|
2015-09-23 21:01:09 +00:00
|
|
|
|
|
2019-02-11 08:52:23 +00:00
|
|
|
|
Prefer installing i3status via your Linux distribution’s package manager.
|
|
|
|
|
|
|
|
|
|
If you absolutely have to build from source, use:
|
|
|
|
|
|
2015-09-23 21:01:09 +00:00
|
|
|
|
```bash
|
2019-02-11 08:52:23 +00:00
|
|
|
|
autoreconf -fi
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
2020-03-12 18:24:33 +00:00
|
|
|
|
../configure --disable-sanitizers
|
2020-07-09 10:05:44 +00:00
|
|
|
|
make -j$(nproc)
|
2019-02-11 08:52:23 +00:00
|
|
|
|
sudo make install
|
2015-09-23 21:01:09 +00:00
|
|
|
|
```
|