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 ticker support #466

Open
bmigunov opened this issue Oct 6, 2022 · 0 comments · May be fixed by #467
Open

[Feature Request] Add ticker support #466

bmigunov opened this issue Oct 6, 2022 · 0 comments · May be fixed by #467

Comments

@bmigunov
Copy link

bmigunov commented Oct 6, 2022

So, the suggestion is to implement a ticker (running line) feature (for the cases when we would like to save some space on the i3bar).
It should move an output of a given block (with enabled feature) char by char with a given direction & interval (only if output exceeds given characters limit).

Configurable options could be:
ticker - toggles ticker feature
ticker_delimeter - sets the delimeter which separates beginning and ending of the given output string
ticker_interval - interval which does not depend on block interval
ticker_chars_limit - limit of characters to be shown at once
ticker_direction - right/left

bmigunov added a commit to bmigunov/i3blocks that referenced this issue Oct 9, 2022
Ticker feature implementation.
Added new options, such as: "ticker", "ticker_delimeter",
"ticker_interval", "ticker_chars_limit" & "ticker_direction".

"ticker" option enables/disables feature for a given block.
"ticker_delimeter" sets a character to separate tail and head of the
output string.
"ticker_interval" determines the amount of time periods on which the
output string is being shifted.
"ticker_chars_limit" defines the amount of symbols to be displayed.
"ticker_direction" defines the direction in which the characters will
shift.

This feature required to add a library to work with UTF8 characters, so
now i3blocks has "libutf8proc" in its dependencies.

Closes vivien#466
@bmigunov bmigunov linked a pull request Oct 9, 2022 that will close this issue
dllud pushed a commit to dllud/i3blocks that referenced this issue Jan 12, 2024
aur-update: add option to force IPV4 usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant