3 ms·
I like the idea here, but I don't really see how drawing ASCII art is easier than running: tmux list-windows I do agree that it's nicer to read the ASCII
by dmerrick 11y ago
I like the idea here, but I don't really see how drawing ASCII art is easier than running:
tmux list-windows
I do agree that it's nicer to read the ASCII art version, but making edits seems like effort. The list-windows syntax isn't fun to look at, but it's simple to manually make changes to the current layout and export it in the native tmux syntax.
- pmoriarty 11y agoFurther down the page is a mention of Flex, which was designed to address the concerns you mention: "Windowgrams are a neat way of arranging workspaces. For simpler layouts, a windowgram can be typed up quickly. But if you need detail, you may find yourself doing a lot of ASCII art. In tmuxomatic 2.x, flex was added to automate the construction and modification of the windowgram itself. Flex is an object-oriented windowgram editor. It is visually expressive, naturally worded, logically ordered, minimal, and powerful. Its short command set may be combined to make any conceivable windowgram -- likely more quickly and more easily than crafting by hand. Flex is intended for power users who desire detailed windowgrams without the tedium of manual entry." There are some examples further on of how quick and easy it is to use flex for edits.