#tabs #zellij #command #loader #panes #shell #tmuxp

app zelp

Simple configuration loader for zellij

1 unstable release

0.1.0 Jul 8, 2024

#147 in Configuration

MIT license

15KB
316 lines

Zelp

Something like Tmuxp but for Zellij

Config Example

SessionConfig(
    session_name: "zelp-test-session",
    shell_command_before: "export RUST_LOG=info",
    tabs: [
        ( name: "code", focus: true, commands: ["helix"] ),
        ( name: "cmd1", commands: ["clear"] ),
        ( name: "monitoring", commands: ["btm"] ),
        ( name: "cmd2"),
    ],
)

Features

Very basic for now

  • Load tabs and run commands inside them
  • Run common commands inside tabs (like conda or export RUST_LOG=info)
  • Can split tabs to panes (look how tmuxp implemented it)
  • Figure out maybe pipe commands directly into the zellij server

Dependencies

~3–10MB
~105K SLoC