postmodernpostmodern
Mar 2, 2026, 2:39 AMAnother free project idea: write a generic waybar module that embeds mruby so you could write waybar modules entirely in Ruby.
Another free project idea: write a generic waybar module that embeds mruby so you could write waybar modules entirely in Ruby.
Currently, waybar "modules" (their term for widgets that are displayed in the bar) are written in C++ and are initiaized with optional JSON data from `~/.config/waybar/config.jsonc`.
There's even a "custom" waybar module that supports various triggers/actions defined via JSON. A similar module could be written using mruby that calls DSL methods defined in a Ruby config file.
https://github.com/Alexays/Waybar/blob/master/src/modules/custom.cpp
https://man.archlinux.org/man/waybar-custom.5.en