Ensure you have the build dependencies installed.
sh
cargo install ironbar
sh
yay -S ironbar-git
A flake is included with the repo which can be used with Home Manager.
Example usage
```nix { # Add the ironbar flake input inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs.ironbar = { url = "github:JakeStanger/ironbar"; inputs.nixpkgs.follows = "nixpkgs"; }; inputs.hm = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; };
outputs = inputs: { homeManagerConfigurations."USER@HOSTNAME" = inputs.hm.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x8664-linux; modules = [ # And add the home-manager module inputs.ironbar.homeManagerModules.default { # And configure programs.ironbar = { enable = true; config = {}; style = ""; package = inputs.ironbar; features = ["feature" "anotherfeature"]; }; } ]; }; }; } ```
There is a Cachix cache available at https://app.cachix.org/cache/jakestanger
.
Ensure you have the build dependencies installed.
```sh git clone https://github.com/jakestanger/ironbar.git cd ironbar cargo build --release
install target/release/ironbar ~/.local/bin/ironbar ```
By default, all features are enabled. See here for controlling which features are included.
Once installed, you will need to create a config and optionally a stylesheet in .config/ironbar
.
See the Configuration Guide and Style Guide for full details.
Ironbar can be launched using the ironbar
binary.
Log verbosity can be changed using IRONBAR_LOG
or IRONBAR_FILE_LOG
. You can use any of error
, warn
, info
, debug
or trace
.
These default to IRONBAR_LOG=info
and IRONBAR_FILE_LOG=error
.
File output can be found at ~/.local/share/ironbar/error.log
.
Ironbar is an alpha project. It is unfinished and subject to constant breaking changes, and will continue that way until the foundation is rock solid.
If you would like to take the risk and help shape development, any bug reports, feature requests and discussion is welcome.
I use Ironbar on my daily driver, so development is active. Features aim to be stable and well documented before being merged.
All are welcome, but I ask a few basic things to help make things easier. Please check here for details.