Skip to content

Limit length of modules #486

@4e554c4c

Description

@4e554c4c

Hi,

I can't figure out how to limit the length of text of a module or if this is possible.

For example, if I have the mpd module enabled and a song with a long name occurs, it will take up the entire bar.

I tried reading the documentation for fmt, and it appears to be quite easy to specify a minimum length for text, but not a maximum.

If possible I would like to hide the text with an ellipsis if it became long enough to run into other modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions