Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Staked / Multi-Line layout #84

Open
tuxfre opened this issue May 19, 2024 · 1 comment
Open

[Question] Staked / Multi-Line layout #84

tuxfre opened this issue May 19, 2024 · 1 comment

Comments

@tuxfre
Copy link

tuxfre commented May 19, 2024

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 👍

@benintech
Copy link

benintech commented Feb 4, 2025

+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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants