YetAnotherBar icon indicating copy to clipboard operation
YetAnotherBar copied to clipboard

YAB - Yet Another Bar is gtk based statusbar for i3 with support for CSS

YetAnotherBar Baner

Why do we need yet another status bar?

The answer is really simple... we don't,
but I really like the idea of native status bar with CSS support so here you go anyway

Installation

On Arch linux you can install it from AUR yetanotherbar-git

Wayland

for Wayland you need gtk-layer-shell on your system, and YAB binary built with wayland feature flag

Example Config

~/.config/YetAnotherBar/config.ron

Config(
    bars: {
        "bar-left": (
            monitor: "DP-1",
            pos_x: 0,
            pos_y: 1000,
            modules_left: [
                I3,
                Custom((
                    name: "custom-ram",
                    exec: ["sh","/path/to/ram.sh"],
                    interval: 1000,
                ))
            ],
            modules_right: [
                Cpu,
                Mpris,
                Alsa,
                Clock,
            ],
        ),
        "bar-right": (
            monitor: "HDMI-0",
            pos_x: 1920,
            pos_y: 1000,
            modules_left: [
                I3,
            ],
            modules_right: [
                Cpu,
                Mpris,
                Alsa,
                Clock,           
            ],
        ),
    },
)

~/.config/YetAnotherBar/style.css css
For more info about CSS selectors visit wiki

Result

img

img