layout { tab name="Main and Compile" cwd="./" 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 split_direction="horizontal" { // this is the compilation window pane size="60%" command="compiletex" { 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="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="./" { 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" "--all" "--oneline" "--graph" "--stat" "--decorate" } } pane size=2 borderless=true { plugin location="status-bar" } } }