Crates.io | hybrid-bar |
lib.rs | hybrid-bar |
version | 0.4.9 |
source | src |
created_at | 2023-03-03 02:24:27.409106 |
updated_at | 2023-03-06 05:25:04.392698 |
description | A simple status bar made for wlroots compositors. |
homepage | |
repository | https://github.com/vars1ty/HybridBar |
max_upload_size | |
id | 799352 |
size | 125,413 |
A simple status bar focused on wlroots Wayland compositors
With blur through Hyprland.
The bottom bar is also made with Hybrid.
It supports:
stray
;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.
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
hybrid-bar
.