mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Implement claude-mux
This commit is contained in:
+17
-1
@@ -11,6 +11,8 @@
|
||||
./tools/tmux.nix
|
||||
];
|
||||
|
||||
home.packages = [pkgs.claude-mux];
|
||||
|
||||
programs.claude-code = {
|
||||
enable = true;
|
||||
configDir = "${config.xdg.configHome}/claude";
|
||||
@@ -78,9 +80,23 @@
|
||||
);
|
||||
in "${claudeNotify}";
|
||||
}
|
||||
{
|
||||
type = "command";
|
||||
command = "${lib.getExe pkgs.claude-mux} hook --status idle";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
hooks.UserPromptSubmit = [
|
||||
{hooks = [{type = "command"; command = "${lib.getExe pkgs.claude-mux} hook --status running";}];}
|
||||
];
|
||||
hooks.Notification = [
|
||||
{hooks = [{type = "command"; command = "${lib.getExe pkgs.claude-mux} hook --status questions";}];}
|
||||
];
|
||||
hooks.SessionEnd = [
|
||||
{hooks = [{type = "command"; command = "${lib.getExe pkgs.claude-mux} hook --status closed";}];}
|
||||
];
|
||||
}} "${config.xdg.configHome}/claude/settings.json"
|
||||
'';
|
||||
|
||||
@@ -109,7 +125,7 @@
|
||||
"ctrl+shift+s" = "chat:stash";
|
||||
"enter" = "chat:newline";
|
||||
"ctrl+d" = "chat:cancel";
|
||||
"ctrl+u" = "chat:clearInput";
|
||||
"ctrl+u" = "chat:stash";
|
||||
"ctrl+z" = "chat:undo";
|
||||
"ctrl+y" = "chat:undo";
|
||||
"ctrl+shift+z" = "chat:redo";
|
||||
|
||||
Reference in New Issue
Block a user