A simple status bar focused on wlroots Wayland compositors
The bottom bar is also made with Hybrid.
It supports:
- Straight-forward configuration;
- Labels with shell commands (+ listen support);
- Spacings (a.k.a. Separators if styled);
- Boxes with child widgets;
- Custom update-rate for dynamic labels;
- Cava;
- Buttons with shell commands;
- Tooltips for buttons and labels;
- Markup for buttons and labels;
- Top and Bottom pinning;
- Transparency (+ blur if your compositor allows for blurring surface layers);
- Experimental system tray via
stray
; - Different monitors for each configuration
If you installed outside the AUR, copy the example from examples/config.json
into ~/.config/HybridBar/
.
Nope, it's been tested on KDE as well and it worked just fine.
It just won't work on GNOME as it hasn't implemented the wlr-layer-shell
protocol.
I'm assuming you are familiar with JSON. If you aren't, well too bad.
Before you can use the bar, you have to adjust the color and alpha.
RGB Colors are 0-255 as a 32-bit integer, Alpha is 0.0-1.0 as a 32-bit float.
Here's an example:
{
"hybrid": {
"namespace": "hybrid-bar",
"r": 10,
"g": 10,
"b": 10,
"a": 0.5
}
}
CSS is supported and you can make it auto-load on startup by making a style.css
file next to your config.json
on the same path.
If you want a sample CSS which has good defaults, check examples/style.css
.
HYBRID_LOG
= 1
: Logs Hybrid output to stdout.
HYBRID_CONFIG
= name.json
: Locates the config inside the HybridBar config path, then uses it for the rest of the bars session.
Hybrid automatically performs background updates for dynamic labels/tooltips and Cava widgets.
The rate for updating labels is read from the labels update_rate
key (u64).
It's worth noting that low update-rates may lead to performance decreases, the value specified is in milliseconds.
- rust
- gtk-layer-shell
- gtk3
- a compositor that supports layer-shells
- This excludes GNOME. KDE, Hyprland and Sway have been confirmed working.
Arch Linux: yay/paru -S hybrid-bar
Other distros: cargo install hybrid-bar
git clone https://github.com/vars1ty/HybridBar
cd HybridBar
cargo build --release
cd target/release
- Done, the executable is called
hybrid-bar
.