enkore / i3pystatus

A complete replacement for i3status
https://i3pystatus.readthedocs.io/
MIT License
445 stars 188 forks source link

item overflowing gets whole bar colored #861

Open elig0n opened 8 months ago

elig0n commented 8 months ago

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

terminalmage commented 7 months ago

Can you please provide a config example?

elig0n commented 7 months ago

@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()