zellij-autolock icon indicating copy to clipboard operation
zellij-autolock copied to clipboard

Feature Request: Support sub-commands/arguments

Open HirschBerge opened this issue 7 months ago • 2 comments

I'm not sure if this is a feature request or I just need help understanding the best way to set up a capture for my usecase.

I have a layout for rust development that has

pane command="nix" size="60%" {
   args "develop" "-c" "v" "src/main.rs"
}

i use a Nix flake, so my command is just nix develop -c v src/main.rs where 'v' is my custom build of neovim. Running the command directly locks just as expected, and everything is great. Obviously, i'd like to use zellij layouts to their full potential. Adding "nix" to my watchlist locks, but I also have nix develop -c bacon run and nix develop -c bacon clippy in my layout and, I don't want them captured. Is there something I'm missing, or is this possible to implement?

HirschBerge avatar Jul 13 '24 04:07 HirschBerge