[FEAT]: Query the primary window index in a given workspace. #423

Closed
opened 2026-01-05 14:50:39 +01:00 by adam · 1 comment
Owner

Originally created by @Mizuna737 on GitHub (Jun 26, 2024).

Describe the solution you'd like
Add an option to the query command that returns the index of the primary column in the focused workspace.

Describe alternatives you've considered
Currently the same thing can be achieved through some fairly simple RegEx with the state command, but since the program already tracks the tree of windows it should be simple to expose that to the user.

Originally created by @Mizuna737 on GitHub (Jun 26, 2024). **Describe the solution you'd like** Add an option to the query command that returns the index of the primary column in the focused workspace. **Describe alternatives you've considered** Currently the same thing can be achieved through some fairly simple RegEx with the state command, but since the program already tracks the tree of windows it should be simple to expose that to the user.
adam added the enhancement label 2026-01-05 14:50:39 +01:00
adam closed this issue 2026-01-05 14:50:39 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jan 23, 2025):

The primary column will now always be idx 0.

@LGUG2Z commented on GitHub (Jan 23, 2025): The primary column will now always be idx `0`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#423