https://github.com/axect/zellaygen

Zellij Layout Generator

https://github.com/axect/zellaygen

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.1%) to scientific vocabulary

Keywords

layout rust zellij
Last synced: 6 months ago · JSON representation

Repository

Zellij Layout Generator

Basic Info
  • Host: GitHub
  • Owner: Axect
  • License: mit
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 155 KB
Statistics
  • Stars: 24
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Topics
layout rust zellij
Created over 3 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.md

ZelLayGen (Zellij Layout Generator)

Easy to generate layout.kdl for Zellij

Prerequisites

  • Rust
  • Cargo

Usage

  1. Copy config_template.toml to config.toml
  2. Edit config.toml
    • name : Name of session & kdl file - {name}.kdl
    • dir : Directory to your project dir - ~/path/to/project
    • editor_cmd : Editor open dir command (e.g. nvim, code . and etc.)
    • tree_tool : Tool for file tree view (e.g. broot)
    • monitor_tool : Tool for monitor (e.g. htop, btm, btop, ytop and etc.)
    • git_tool : Tool for git (e.g. lazygit, gitui and etc.)
  3. Run via Cargo sh cargo run --release
  4. Check generated {name}.kdl

Example

Generated kdl file from default config_template.toml is as follow.

kdl layout { default_tab_template { pane size=1 borderless=true { plugin location="zellij:tab-bar" } children pane size=2 borderless=true { plugin location="zellij:status-bar" } } tab name="work" focus=true split_direction="Vertical" { pane split_direction="Vertical" { pane name="editor" command="/usr/bin/zsh" focus=true { args "-c" "cd ~/path/to/project && nvim" } pane split_direction="Horizontal" { pane name="files" command="/usr/bin/zsh" { args "-c" "cd ~/path/to/project && broot" } pane name="shell" command="/usr/bin/zsh" { args "-c" "cd ~/path/to/project && /usr/bin/zsh" } } } } tab name="perf" { pane name="monitor" command="btm" } tab name="git" { pane name="git" { command "/usr/bin/zsh" args "-c" "cd ~/path/to/project && lazygit" } } } session_name "test" attach_to_session true

Owner

  • Name: Tae-Geun Kim
  • Login: Axect
  • Kind: user
  • Location: Seoul, South Korea
  • Company: Yonsei Univ.

Ph.D student of particle physics & Rustacean

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • Axect (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Cargo.lock cargo
  • indoc 1.0.6
  • proc-macro2 1.0.40
  • quote 1.0.20
  • serde 1.0.138
  • serde_derive 1.0.138
  • syn 1.0.98
  • toml 0.5.9
  • unicode-ident 1.0.1
Cargo.toml cargo