ivaaaan/smug

Need an example for multipanes

fedoranvar opened this issue · 1 comments

Good day to you!
Thank you for your work!

Describe the bug
I can create multiple panes in window, but I can't figure out how to place them in geometric order as I want.

example:
I have config for window:
image

And I want to place main pane at left side, and others at right.

but now it gives me this:
image

Expected behavior
I'm asking about:

How I can split specific pane in config file?
(like nested splitting)

Output of cat ~/.config/smug/smug.log

Smug version
0.1.7

OS you're using

Void Linux

Hey. This might give you what you want:

session: test

root: ~/

windows:
  - name: main

    panes:
      - type: horizontal
        name: 1
      - type: horizontal
        name: 2

It will create 3 panes. Unfourtnally, you can't specify their/ratio sizes in the config, but I think I'll add support for sizes & custom layout this week.

Screenshot 2021-02-01 at 10 50 53