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

item overflowing gets whole bar colored #861

Open
elig0n opened this issue Mar 20, 2024 · 2 comments
Open

item overflowing gets whole bar colored #861

elig0n opened this issue Mar 20, 2024 · 2 comments

Comments

@elig0n
Copy link
Contributor

elig0n commented Mar 20, 2024

when a bar's item overflows the bar's width the whole bar background gets colored in the item's background color.

@terminalmage
Copy link
Collaborator

Can you please provide a config example?

@elig0n
Copy link
Contributor Author

elig0n commented Apr 22, 2024

@terminalmage

from i3pystatus import Status

status = Status(standalone=True)

status.register("text",
                text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
                )

status.register("text",
                text="Foo bar",
                hints={"background":"#ff0000"}
                )

status.run()

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