AeroSpace icon indicating copy to clipboard operation
AeroSpace copied to clipboard

Feature Request: implement `list-windows --layout`

Open Petemir opened this issue 1 year ago • 1 comments

Hello,

Extracted from a comment on #272:

Would it be/is it possible to filter windows by their layout? Particularly, I am interested in being able to list floating windows... in that case, it would be trivial (as a user) to implement the requested feature

(i.e., a scratchpad).

By the way, many thanks for the app. It's a great tool for those used to i3 on Linux, and it's a comfort being able to keep a similar workflow when changing environment so drastically.

Please let me know if there's anything else I should add. Thanks once again!

Petemir avatar Aug 19 '24 08:08 Petemir

The concrete proposal shall anybody decide to submit a PR:

list-windows --layout (accordion|tiles|horizontal|vertical|h_accordion|v_accordion|h_tiles|v_tiles|tiling|floating)

The options are essentially the same as in layout command

nikitabobko avatar Sep 06 '24 21:09 nikitabobko

Alternatively, could we also have a list-tiles command that would produce output like this:

h_tiles
├── window 1
└── v_tiles
    ├── window 3
    ├── window 2 (focused)
    └── window 4

nikhilmaddirala avatar May 25 '25 22:05 nikhilmaddirala