Skip to content

srghma/ntmuxp

Repository files navigation

ntmuxp

alt text

Example usage

With test.tmuxp.nix (file that should compile to json using nix-instantiate --json --strict --eval yourfile.tmuxp.nix)

let
  pkgs = import <nixpkgs> {};
in

with pkgs;

{
  session_name = "2-pane-synchronized";
  windows = [
    {
      window_name = "Two synchronized panes";
      panes = [
        "ssh server1"
        "ssh server2"
      ];

      options_after= {
        synchronize-panes = true;
      };
    }
  ];
}
ntmuxp load test.tmuxp.nix

will compile nix file to json, output it to /tmp/filenamePROCNUM-random.json, and run command tmuxp load /tmp/filenamePROCNUM-random.json

Releases

No releases published

Packages

No packages published

Languages