[GH-ISSUE #56] [Music] Ability to truncate text #2847

Closed
opened 2026-05-22 23:52:15 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @JakeStanger on GitHub (Jan 27, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/56

Is your feature request related to a problem? Please describe.

Very long song names (or whatever tokens are used) cause the music module to become excessively wide and causes other modules to be pushed out the way.

Describe the solution you'd like

There should be two new options (bikeshed names):

-truncate_width - sets the max width for the widget. Beyond this, the text is truncated.

  • truncate_mode - whether to truncate from the start, middle or end of text.

Describe alternatives you've considered
None.

Originally created by @JakeStanger on GitHub (Jan 27, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/56 **Is your feature request related to a problem? Please describe.** Very long song names (or whatever tokens are used) cause the music module to become excessively wide and causes other modules to be pushed out the way. **Describe the solution you'd like** There should be two new options (bikeshed names): `-truncate_width` - sets the max width for the widget. Beyond this, the text is truncated. - `truncate_mode` - whether to truncate from the start, middle or end of text. **Describe alternatives you've considered** None.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#2847
No description provided.