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

Animation scroll_texts speed #478

Closed
mr-scrpt opened this issue Jan 10, 2024 · 3 comments
Closed

Animation scroll_texts speed #478

mr-scrpt opened this issue Jan 10, 2024 · 3 comments
Labels

Comments

@mr-scrpt
Copy link

It seems that the animation speed is related to max_chars. If you set a large value for max_chars, the animation becomes very fast. Is there any way to adjust the animation speed separately from max_chars?

@FelixKratz
Copy link
Owner

FelixKratz commented Feb 20, 2024

Example usage of the new property:

sketchybar --set <name> label.scroll_duration=<positive_integer>

it is configurable on a per-text basis.

@mr-scrpt
Copy link
Author

Example usage of the new property:

sketchybar --set <name> label.scroll_duration=<positive_integer>

it is configurable on a per-text basis.

Thanks for your reply but I'm not getting any effect, tried putting 0.1, 1, 10, 1000 looks the same fast. I have updated the package to the latest version sketchybar-v2.20.1

sketchybar --add item media e \
           --set media label.color=$COLOR_PEACH_LIGHT \
                       label.max_chars=50 \
                       scroll_texts=on \
                       label.scroll_duration=0.1 \
                       icon.padding_left=0 \
                       icon=􀑪             \
                       icon.color=$COLOR_PEACH_ACCENT  \
                       background.drawing=off \
                       script="$PLUGIN_DIR/media.sh" \
           --subscribe media media_change

@FelixKratz
Copy link
Owner

Its not yet released

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

No branches or pull requests

2 participants