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
On Arch linux you can install it from AUR yetanotherbar-git
for Wayland you need gtk-layer-shell
on your system, and YAB binary built with wayland
feature flag
~/.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