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

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

Notifications You must be signed in to change notification settings

PolyMeilex/YetAnotherBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published