mirror of
https://github.com/nmasur/dotfiles
synced 2026-07-26 05:38:35 +00:00
use noti for gh run watch in zellij pane
This commit is contained in:
@@ -15,10 +15,21 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf (cfg.enable && (pkgs.stdenv.isDarwin || config.services.dunst.enable)) {
|
config = lib.mkIf (cfg.enable && (pkgs.stdenv.isDarwin || config.services.dunst.enable)) {
|
||||||
home.packages = [ pkgs.noti ];
|
home.packages = [ pkgs.noti ];
|
||||||
programs.fish.shellAbbrs = {
|
programs.fish = {
|
||||||
|
shellAbbrs = {
|
||||||
# Add noti for ghpr in Darwin
|
# Add noti for ghpr in Darwin
|
||||||
ghpr = lib.mkForce "gh pr create && sleep 3 && noti gh run watch";
|
ghpr = lib.mkForce "gh pr create && sleep 3 && noti gh run watch";
|
||||||
grw = lib.mkForce "noti gh run watch";
|
grw = lib.mkForce "noti gh run watch";
|
||||||
};
|
};
|
||||||
|
functions = {
|
||||||
|
gh-run = {
|
||||||
|
body =
|
||||||
|
lib.mkForce # fish
|
||||||
|
''
|
||||||
|
${lib.getExe pkgs.zellij} action new-pane --start-suspended -- noti gh run watch
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user