From d8268abcc272e5adea0c2b9746c58c0ddf7553c4 Mon Sep 17 00:00:00 2001 From: Will King Date: Tue, 19 Nov 2024 10:55:39 -0800 Subject: [PATCH] changed zellij layout for laptop --- Latex/Paper/jmp_layout_laptop.kdl | 85 +++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 Latex/Paper/jmp_layout_laptop.kdl diff --git a/Latex/Paper/jmp_layout_laptop.kdl b/Latex/Paper/jmp_layout_laptop.kdl new file mode 100644 index 0000000..f49f051 --- /dev/null +++ b/Latex/Paper/jmp_layout_laptop.kdl @@ -0,0 +1,85 @@ +layout { + tab name="Main and Compile" cwd="~/research/PhD_Deliverables/jmp/Latex/Paper/" hide_floating_panes=true focus=true { + // This tab is where I manage main from. + // it opens up Main.txt for my JMP, opens the pdf in okular (in a floating tab), and then get's ready to build the pdf. + pane size=1 borderless=true { + plugin location="tab-bar" + } + pane split_direction="vertical" { + //pane edit="./Main.tex" focus=true // This is the editor + pane focus=true + + pane split_direction="horizontal" { + + // this is the compilation window + pane size="60%" command="comlatex.sh" { + args "Main.tex" + start_suspended true + } + + // This is the ls of sections + pane size="35%" command="ls"{ + args "sections/" + } + } + } + floating_panes { + // here is where I run okular from, it is auto hidden + pane command="okular" { + args "Main.pdf" + } + } + pane size=2 borderless=true { + plugin location="status-bar" + } + } + + tab name="sections" cwd="~/research/PhD_Deliverables/jmp/Latex/Paper/sections/" { + pane size=1 borderless=true { + plugin location="tab-bar" + } + pane split_direction="vertical" { + pane + pane stacked=true { + pane + pane + pane + pane + pane + pane + pane + pane + pane + } + } + pane size=2 borderless=true { + plugin location="status-bar" + } + } + + tab name="git" cwd="~/research/PhD_Deliverables/jmp/Latex/Paper/" { + pane size=1 borderless=true { + plugin location="tab-bar" + } + + pane split_direction="vertical" { + pane split_direction="horizontal" { + pane command="watch" { + args "--color" "git status" + // requires `git config --global color.status always` to be set + } + pane size="30%" { + focus true + } + } + + pane command="git" { + args "log" "-n 10" "--all" "--oneline" "--graph" "--stat" "--decorate" + } + } + + pane size=2 borderless=true { + plugin location="status-bar" + } + } +}