Nitpick: max width strings should truncate with an ellipsis character #73

Closed
opened 5 months ago by sagotsky · 1 comments

I feel like a pedantic jerk for filing this one.

I use a couple strings with the max attribute truncating strings. Doing so puts "..." in my bar, sometimes twice if I bump into several long strings. This feels like a poor use of bar space at a time when I'm running out of bar space. I've included a screenshot where jira and spotify each happened to get wordy at the same time.

In my opinion, we should use the ellipsis symbol. "…" behaves just like the "..." we've already got, but in a single character. I could see someone else having a different favorite truncation character or preferring no character there at all, so maybe this should be configurable. {max: 20, truncation_string: "…" } is totally reasonable, if a tad verbose.

Either changing the periods for an ellipsis or making the string congigurable would fix this for me.

I feel like a pedantic jerk for filing this one. I use a couple strings with the `max` attribute truncating strings. Doing so puts "..." in my bar, sometimes twice if I bump into several long strings. This feels like a poor use of bar space at a time when I'm running out of bar space. I've included a screenshot where jira and spotify each happened to get wordy at the same time. In my opinion, we should use the ellipsis symbol. "…" behaves just like the "..." we've already got, but in a single character. I could see someone else having a different favorite truncation character or preferring no character there at all, so maybe this should be configurable. `{max: 20, truncation_string: "…" }` is totally reasonable, if a tad verbose. Either changing the periods for an ellipsis or making the string congigurable would fix this for me.
Owner

I feel like a pedantic jerk for filing this one.

Don't worry about it 😂

In my opinion, we should use the ellipsis symbol. "…" behaves just like the "..."

That's what I usually use... I'm actually surprised it's not what's being used in yambar :|

I definitely think we should change this. I don't think there's enough reason, yet at least, to make this configurable.

> I feel like a pedantic jerk for filing this one. Don't worry about it 😂 > In my opinion, we should use the ellipsis symbol. "…" behaves just like the "..." That's what I usually use... I'm actually surprised it's not what's being used in yambar :| I definitely think we should change this. I don't think there's enough reason, yet at least, to make this configurable.
dnkl added the
enhancement
label 5 months ago
dnkl closed this issue 5 months ago
dnkl referenced this issue from a commit 5 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.