Skip to content

New option: incrementing id for windows with the same name #5

@tuurep

Description

@tuurep

To help with the problem that windows with the same class can't be differentiated, when class is used as window name.

From the discussion: #3:

I've also had ideas of using a small id for subsequent windows like, if I have only one firefox window open it would be firefox, but if two, they could be either:

  • firefox(1) · firefox(2)
  • firefox(a) · firefox(b)
  • Something similar

I want this to be a configurable option, because I might choose to keep it off.

Current idea:

duplicate_id = "none" # "numeric" | "alphabetic"

This might not be too complicated to implement, as long as it can be assumed that _NET_CLIENT_LIST always has the order of oldest window to newest window.

However: what is _WIN_CLIENT_LIST and can it be assumed in that case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions