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

feat(layouts): allow consuming a layout from a url #3351

Merged
merged 3 commits into from
May 15, 2024
Merged

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented May 15, 2024

This adds the ability to consume layouts with an http:// or https:// prefix anywhere we consume layouts.

So for example:
zellij --layout https://example.com/my-layout.kdl will start a new session with the fetched layout
zellij action new-tab --layout https://example.com/my-layout.kdl will open new tab(s) from the specified layout

This also works for plugins with the existing switch_session_with_layout and new_tabs_with_layout commands.

@imsnif imsnif merged commit 90a6221 into main May 15, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant