postmodernpostmodern
Mar 2, 2026, 3:55 AMThere'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