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

Add gaps/spacers between segments (help wanted) #2090

Open
sebastianzander opened this issue Nov 14, 2022 · 4 comments
Open

Add gaps/spacers between segments (help wanted) #2090

sebastianzander opened this issue Nov 14, 2022 · 4 comments

Comments

@sebastianzander
Copy link

Hi, I'd like to achieve the following look (screenshot image edited) with gaps or spacers between segments:
p10k_with_gaps

I tried some things with POWERLEVEL9K_{LEFT,RIGHT}_SEGMENT_SEPARATOR, especially duplicating the single separator symbol and resetting the background color but the problem remains that I don't have access to the background color of the following segment to colorize the second separator symbol.

Is this possible with powerlevel10k? Does this require a dedicated new theme?

@romkatv
Copy link
Owner

romkatv commented Nov 14, 2022

This is possible in theory but it would require adding an extra parameter to powerlevel10k.

Here's how this sort of powerline can be displayed:

print -P '%K{1} %F{255}foo%f %k%F{1}\uE0B0%F{2}%S\uE0B0%s%K{2} %F{232}bar%f %k%F{2}\uE0B0'

image

I cannot promise to implement this in the foreseeable future though.

@ciscohack
Copy link

@romkatv I know you have already mentioned not promised but so many requests for this feature.. Please try to add this ..Since log Powerlevel10k does not get any new major feature addon ..Hoping for some more customization option will come in future

btw any idea how to hide below icon from execution_time

image

@romkatv
Copy link
Owner

romkatv commented Nov 20, 2023

For unrelated questions, please open a new issue.

@ciscohack
Copy link

For unrelated questions, please open a new issue.

ok sorry thought a simple query..so asked no worries opened a new ticket

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

3 participants