Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enhancement: Dynamically select list of windows #159

@orestisfl

Description

@orestisfl

Current behavior

alttab initializes a window list using the initWinList function:

int initWinlist(void)

Desired behavior

alttab accepts a new argument, say -window_list_command which, when called, returns a list of windows to display. The command is called in each invocation of alttab.

There should be a pre-determined communication protocol between alttab and window_list_command. The simplest case would be to just return a list of window IDs. Then, alttab fetches needed information for each window ID and displays the window list with the given order.

Example use cases

  • Switch between windows of the same class
  • i3: always include scratchpad windows
  • i3: switch between a subset of windows (e.g. determined by marks)

Related

#77 is related as it also affects the selection logic of what to display. However, that ticket will require further UI changes while this one doesn't.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions