Created attachment 902062 [details] rofi-blocks-0.1.0.ebuild Rofi's own support for custom script modes is somewhat limited in capabilities. Some issue discussions on github clearly recommend to try rofi-blocks for more scripting features. This mode plugin allowes more mature script plugins, due to support for coprocess workflow (still allowing it to be both manager and managed), also with more commands for live update - though limited only by top-level data (still requiring full lines list for any least change in lines content). However, current rofi-blocks version has serious bug - it ignore all but last lines when they arrive to fast (i.e. they arrive in one read call). So there's patch to fix that problem. For unknown (but not hard to guess) reason author did not react when I sent patches to him.
Created attachment 902064 [details] Live ebuild (may fail autoreconf) Live ebuild. Note - commit 9044882311f11c13631697712046050c2e7cb95e is last, where autoreconf doesn't fail.
Created attachment 902065 [details, diff] 1st patch (this cleanup just got in my way)
Created attachment 902066 [details, diff] That bugfix I told about
Created attachment 902067 [details, diff] 3rd patch (optional optimization)