zellij-autolock
zellij-autolock copied to clipboard
Feature Request: Support sub-commands/arguments
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?