mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: Query the primary window index in a given workspace. #423
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@LGUG2Z commented on GitHub (Jan 23, 2025):
The primary column will now always be idx
0.