-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
Current behavior
alttab initializes a window list using the initWinList function:
Line 550 in 09bc40c
| 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.