Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add horizontal scrolling text for long messages instead of truncating it #1374

Open
JayBeeDe opened this issue Aug 26, 2024 · 4 comments

Comments

@JayBeeDe
Copy link

JayBeeDe commented Aug 26, 2024

Instead of ellipsizing or word-wrapping long body texts (body => "%b" from the notification format), there should be a way to configure horizontal scrolling like old LCD:

image

Add the 3 following settings to the global section:

  • horizontal_scroll (values: [true/false], default: false)
    The following condition must be met in order to enable this feature: horizontal_scroll=true and word_wrap=false
    (horizontal_scroll=false and word_wrap=false means that text will ellipsize)
  • horizontal_scroll_direction (values: [right_to_left/left_to_right], default: right_to_left)
  • horizontal_scroll_speed: (values: [auto/fast/normal/slow], default: auto)
    auto means text will adapt speed according notification urgency timeout and number of characters to display all the body message, whereas fast/normal/slow will display on a fixed speed, no matter if enough time before timeout to display all the body message
@bynect
Copy link
Member

bynect commented Aug 27, 2024

I'm sure this would work for titles, but how about multiline bodies? Isn't vertical scrolling better for that?

@JayBeeDe
Copy link
Author

Multi-line bodies + scrolling feature is not possible since scrolling feature requires horizontal_scroll=true and word_wrap=false

@bynect
Copy link
Member

bynect commented Aug 27, 2024

Multi-line bodies + scrolling feature is not possible since scrolling feature requires horizontal_scroll=true and word_wrap=false

I see

@bynect
Copy link
Member

bynect commented Sep 3, 2024

I like the idea however at the moment dunst doesn't support animations so we won't be able to implement this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@JayBeeDe @bynect and others