summaryrefslogtreecommitdiffstats
path: root/zellij-utils/assets/layouts/welcome.kdl
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-02-06 14:26:14 +0100
committerGitHub <noreply@github.com>2024-02-06 14:26:14 +0100
commit6b20a958f4e8db5614fffb27fe5d32f07ddfe855 (patch)
treec8383fb7941b5e0c23cb348a655f2ea0fafd8668 /zellij-utils/assets/layouts/welcome.kdl
parent286f7ccc28e3a091e2d3ef5663ae7878056551e6 (diff)
feat(sessions): welcome screen (#3112)
* prototype - can send layout name for new session from session-manager * feat(sessions): ui for selecting layout for new session in the session-manager * fix: send available layouts to plugins * make tests compile * fix tests * improve ui * fix: respect built-in layouts * ui for built-in layouts * some cleanups * style(fmt): rustfmt * welcome screen ui * fix: make sure layout config is not shared between sessions * allow disconnecting other users from current session and killing other sessions * fix: respect default layout * add welcome screen layout * tests(plugins): new api methods * fix(session-manager): do not quit welcome screen on esc and break * fix(plugins): adjust permissions * style(fmt): rustfmt * style(fmt): fix warnings
Diffstat (limited to 'zellij-utils/assets/layouts/welcome.kdl')
-rw-r--r--zellij-utils/assets/layouts/welcome.kdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/zellij-utils/assets/layouts/welcome.kdl b/zellij-utils/assets/layouts/welcome.kdl
new file mode 100644
index 000000000..1884fe1f0
--- /dev/null
+++ b/zellij-utils/assets/layouts/welcome.kdl
@@ -0,0 +1,8 @@
+layout {
+ pane borderless=true {
+ plugin location="zellij:session-manager" {
+ welcome_screen true
+ }
+ }
+}
+session_serialization false // this will apply only to the initial welcome screen layout, and is intended to prevent lots of garbage sessions left around