zellij function to do a gh run watch

This commit is contained in:
Noah Masur 2025-05-13 15:45:58 -04:00
parent f0add607e6
commit f2e09c9adc
No known key found for this signature in database

View File

@ -34,6 +34,12 @@ in
zellij pipe --plugin file:$(which zellij-switch.wasm) -- "--cwd $TARGET_DIR --layout default --session $(basename $TARGET_DIR)"
'';
};
gh-run = {
body = # fish
''
zellij action new-pane --start-suspended -- gh run watch
'';
};
};
};
@ -115,6 +121,16 @@ in
close_on_exit = true;
};
};
"bind \"Alt Shift w\"" = {
Run = {
_args = [
"${pkgs.fish}/bin/fish"
"-c"
"gh-run"
];
close_on_exit = true;
};
};
"bind \"Super Shift ]\"" = {
GoToNextTab = { };
};