Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (54 loc) · 1.64 KB

README.md

File metadata and controls

59 lines (54 loc) · 1.64 KB

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