8000 formatting syntax in i3 workspace names should be ignored · Issue #984 · polybar/polybar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
formatting syntax in i3 workspace names should be ignored #984
Closed
@Nervengift

Description

@Nervengift

My i3wm + polybar setup uses strip-wsnumbers = true to set a sorting order for my static workspaces (e.g. browser, music,...).

Since I still want to see numbers for "dynamic" workspaces (mapped to mod+0..9), these end up being named e.g. 1:1:stuff (shown as 1:stuff in the bar).

This worked well with i3bar but in polybar this seems to be interpreted as some kind of format syntax? E.g. 1:1:rust will make the whole i3 module right-aligned, 1:1:R... will result in inverted foreground and background. All format codes from the Formatting wiki page seem to work.

If the first letter of the actual name is no format code, the whole bar will be empty and I get
error: Failed to parse contents (reason: Unrecognized token 'b')

This does not happen with "normal" workspace names like 1:rust.

Is this an undocumented format code syntax? Regardless of that it should probably not be interpreted in workspace names?

(the obvious workaround is to have workspaces named like 1:1.rust instead but still…)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0