Skip to content

now_playing: text does not roll if it is set to the default 40 #508

@kev-cao

Description

@kev-cao

I noticed that if TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN is left at the default 40, the text will not roll, even if the trim method is set to roll. Dug into the code a bit and found that it was because the relevant AppleScripts first trim the length to 40 — so the text that comes through to the bash script is always limited to 40.

Was there a particular reason why the AppleScripts need to trim the text? If not, I can put up a PR to remove the trim in the AppleScripts and let the bash script handle trimming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions