executor icon indicating copy to clipboard operation
executor copied to clipboard

[Question] Staked / Multi-Line layout

Open tuxfre opened this issue 1 year ago • 1 comments

Hello!

For outputs that are wide but not too tall, would there be a way to “stack” the outputs?

I tried inserting a new line (\n) or line break (<br />) in the command output, but they are printed as text.

For example, the two lines below take quite a bit of horizontal space, and it would be nice if they could be printed on two lines image (i.e. line 1: weather / line 2: speedtest)

Thanks for this neat piece of software :+1:

tuxfre avatar May 19 '24 18:05 tuxfre

+1 I too was wondering how to display some infos on 2 lines. Like for example this screenshot, which comes from https://extensions.gnome.org/extension/3724/net-speed-simplified/, and displays up and down speed on 2 lines. It would be great to be able to do the same with Executor :

Image

In theory it should be done with something like echo "<executor.css.small><executor.markup.true>line1 <br/> line2", but with <executor.markup.true> the<br/> tag causes the command to fail, and nothing is shown. I guess only inline tags like <span> or <i> are supported, not block tags (which makes sense).

benintech avatar Feb 04 '25 09:02 benintech