Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom settings per workspace #374

Closed
jomag opened this issue Aug 11, 2024 · 4 comments
Closed

Custom settings per workspace #374

jomag opened this issue Aug 11, 2024 · 4 comments

Comments

@jomag
Copy link

jomag commented Aug 11, 2024

I've searched but not been able to find any way to add default settings per workspace. For example, I have a few workspaces that have specific purposes: browser workspace, terminal workspace, chat workspace, and I would want them to have different layouts depending on their purpose.

@nikitabobko
Copy link
Owner

nikitabobko commented Aug 11, 2024

after-startup-command = [
    'workspace 1', 'layout tiles', 'workspace-back-and-forth',
    'workspace 2', 'layout accordion', 'workspace-back-and-forth'
]

@nikitabobko
Copy link
Owner

nikitabobko commented Aug 11, 2024

Once #186 is implemented it will become even simplier:

after-startup-command = [
    'layout --workspace 1 tiles',
    'layout --workspace 2 accordion'
]

UPD: no, it didn't become simplier

@thewinger
Copy link

Would it be possible to specify a deeper tree? so workspace 1 could be:

V_tiles
|- Window 1 (browser)
|- V_accordion
    |- window 2
    |- window 3
    |- window 4
    ...

@theherk
Copy link

theherk commented Oct 3, 2024

@nikitabobko: Is it possible to set accordion-padding per workspace somehow? I can't see setting it aside from the general attribute, but it would be nice. Reason being Zed editor opens several windows but has its own project switching. So I put them all on the same workspace, but don't need the accordion padding.

I didn't want to open another issue as this doesn't really seem like a bug and is closely related to this question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants