Customisable gtk-layer-shell wlroots/sway bar written in rust.
Go to file
2024-05-05 12:27:31 +01:00
.github ci(binary): use release tag instead of github.ref_name 2024-04-29 10:17:46 -04:00
.idea chore(intellij): update run files 2024-04-13 21:27:45 +01:00
docs docs(compiling): add lua deps 2024-04-28 23:20:11 +01:00
examples docs(volume): update deprecated volume token (#567) 2024-05-01 21:37:56 +01:00
lua feat: new cairo module 2024-04-17 20:35:35 +01:00
nix build(nix): do not include unused inputs when using feature subset 2024-04-17 22:04:43 +01:00
scripts feat: module-level name and class options 2023-05-06 13:22:35 +01:00
src chore: remove println 2024-05-04 17:14:39 +01:00
test-configs chore: add test config file 2024-04-06 12:05:11 -04:00
.envrc feat(nix): automatic development environment with direnv 2023-08-15 20:09:32 +01:00
.gitignore build: update hyprland-rs to 0.4.0-alpha.1 2024-05-03 21:39:09 +01:00
Cargo.lock chore(release): v0.15.1 2024-05-05 12:27:31 +01:00
Cargo.toml chore(release): v0.15.1 2024-05-05 12:27:31 +01:00
CHANGELOG.md chore: fix changelog formatting 2024-04-29 11:14:34 +01:00
CONTRIBUTING.md docs(contributing): enforce conventional commits 2023-05-08 14:13:33 +01:00
Cross.toml ci: ubuntu_setup.sh 2024-03-22 11:15:25 -04:00
flake.lock flake.lock: Update 2024-05-01 00:55:38 +00:00
flake.nix refactor(nix): simplify flake 2024-04-17 22:04:19 +01:00
LICENSE chore: add mit license 2022-08-14 14:32:54 +01:00
README.md docs(readme): add repology badge 2024-03-27 13:22:08 +00:00
shell.nix build(nix): add luajit and lgi support 2024-04-17 20:35:35 +01:00

--- Ironbar ---


A customisable and feature-rich GTK bar for wlroots compositors, written in Rust.

Ironbar is designed to support anything from a lightweight bar to a full desktop panel with ease.


Getting Started

Wiki | Configuration Guide | Style Guide


Screenshot of fully configured bar with MPD widget open

Looking for a starting point, or want to show off? Head to Show and tell


Features

  • First-class support for Sway and Hyprland
  • Fully themeable with hot-loaded CSS
  • Popups to show rich content
  • Ability to create custom widgets, run scripts and embed dynamic content
  • Easy to configure anything from a single bar across all monitors, to multiple different unique bars per monitor
  • Support for multiple config languages

Installation

Packaging status

Cargo

crate

Ensure you have the build dependencies installed.

cargo install ironbar

Arch Linux

aur package

yay -S ironbar-git

Nix

nix package

nix-shell -p ironbar

Flake

A flake is included with the repo which can be used with Home Manager.

Example usage
{
  # 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.x86_64-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" "another_feature"];
          };
        }
      ];
    };
  };
}

CI builds are automatically cached by Garnix. You can use their binary cache by following the steps here.

Void Linux

void package

xbps-install ironbar

Source

repo

Ensure you have the build dependencies installed.

git clone https://github.com/jakestanger/ironbar.git
cd ironbar
cargo build --release
# change path to wherever you want to install
install target/release/ironbar ~/.local/bin/ironbar

By default, all features are enabled. See here for controlling which features are included.

Running

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.

The IRONBAR_LOG and IRONBAR_FILE_LOG environment variables can be set to change console and file log verbosity respectively. You can use any of error, warn, info, debug or trace.

These default to IRONBAR_LOG=info and IRONBAR_FILE_LOG=warn. Note that you cannot increase the file log verbosity above console verbosity.

Log files can be found at ~/.local/share/ironbar/.log.

Status

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.

Contribution Guidelines

All are welcome, but I ask a few basic things to help make things easier. Please check here for details.

Acknowledgements

  • Waybar - A lot of the initial inspiration, and a pretty great bar.
  • Rustbar - Served as a good demo for writing a basic GTK bar in Rust
  • Smithay Client Toolkit - Essential in being able to communicate to Wayland
  • gtk-layer-shell - Ironbar and many other projects would be impossible without this
  • Mixxc - Basis for Ironbar's PulseAudio client code and a cool standalone volume widget.