GTK based statusbar with CSS theming support https://github.com/PolyMeilex/YetAnotherBar
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Erin Nova e9e5ea16f8
Fix battery status changing
1 week ago
examples Trim Custom Command Output 2 months ago
src Fix battery status changing 1 week ago
.gitignore Init src 2 years ago
Cargo.lock Update .lock 3 months ago
Cargo.toml Popover Calendar 3 months ago
README.md Update README.md 3 months ago
wiki.md img for structure 2 years ago

README.md

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