Utility to generate status bar data to be used by i3 window manager bar (known as i3bar).
Serves as a replacement for i3status.
Implements i3bar protocol.
Written in Rust as educational project for personal use only.
Check greshake/i3status-rust for full featured i3status
implementation written in Rust.
- Linux
- mounted
sysfs
filesystem iwconfig
,iwgetid
(wireless-tools
package)ip
(iproute2
package)xkblayout-state
(xkblayout-state-git
package)amixer
(alsa-utils
package)sed
(sed
package)awk
(awk
package)
Install Rust to build binary.
Clone this repository, build and install binary:
$ git clone https://github.com/ysegorov/i3status-rs
$ cd i3status-rs
$ cargo install --path .
Binary named i3status
will be installed to $CARGO_HOME/bin
directory
($CARGO_HOME
defaults to ~/.cargo
).
Configure i3bar
within ~/.config/i3/status
configuration file:
...
bar {
status_command ~/.cargo/bin/i3status
font pango:Hack Nerd Font 9
}
...
and reload i3wm
configuration or simply restart i3wm
.