greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.88k stars 474 forks source link

lemonbar tags - color formatting #1596

Closed fhill2 closed 2 years ago

fhill2 commented 2 years ago

Before wayland+i3status-rust I used a custom script module in polybar that printed the current workspace layout.

I could color the focused window/container in a different color as polybar supports lemonbar tag formatting.

status

Is there a feature to color part of the text shown in the block a different color? I have only found a way to change color for the whole block.

MaxVerevkin commented 2 years ago

Is there a feature to color part of the text shown in the block a different color?

Not a feature of i3status-rs, but you can use pango markup in all the blocks. For example,

<span color='#fabd3f'>...</span>
fhill2 commented 2 years ago

This is exactly what I'm trying to do. Thanks for this info.