Simplify activity monitoring by disabling it in lazygit project templates

Replace complex tmux hooks with targeted solution:
- Disable activity monitoring in basic.sh for git window (lazygit)
- Disable activity monitoring in research.sh for both code-git and paper-git windows
- Remove unreliable program detection hooks from tmux config
- Keep manual toggle (Ctrl+a A) for user control

This approach is simpler, more reliable, and directly addresses the root
cause of noisy activity notifications from project templates.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-30 23:31:58 +02:00
parent e1beff433e
commit 0acbb7fca2
3 changed files with 3 additions and 19 deletions

View file

@ -26,6 +26,7 @@ tmux split-window -t $SESSION_NAME:2.2 -v -c "$CODE_PATH"
tmux select-pane -t $SESSION_NAME:2.1
tmux new-window -t $SESSION_NAME:3 -n "git" -c "$CODE_PATH"
tmux send-keys -t $SESSION_NAME:3 "lazygit" C-m
tmux setw -t $SESSION_NAME:3 monitor-activity off
tmux new-window -t $SESSION_NAME:4 -n "shell" -c "$CODE_PATH"
tmux select-window -t $SESSION_NAME:1