diff --git a/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix b/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix index 0ae2ab5..7fc21cb 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix @@ -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 = { }; };