Commit graph

9 commits

Author SHA1 Message Date
Yan Lin
8a5e66848e Add smart activity monitoring to silence noisy programs
Automatically disable activity monitoring for constantly-updating programs:
- lazygit: Git TUI with frequent display updates
- btop: System monitor with continuous refreshing
- htop: Process monitor
- watch: Repetitive command execution
- tail: Log file following

Features:
- Auto-detection via tmux hooks (after-new-window, window-pane-changed, pane-exited)
- Re-enables monitoring when switching to normal programs
- Manual toggle with Ctrl+a A
- Eliminates false activity notifications while preserving useful ones

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:25:06 +02:00
Yan Lin
701df4d95a Add copy mode indicator styling with bright purple theme
- Add mode-style with bright purple background (#d3869b) matching prefix indicator
- Style search matches with yellow and current match with red
- Add [COPY] indicator to status bar when in copy mode
- Provides consistent visual feedback across tmux modes

Copy mode now shows:
- Bright purple position indicator in pane
- [COPY] text in status bar alongside time
- Themed search highlighting for better visibility

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:15:27 +02:00
Yan Lin
41070ab41b Use brighter gruvbox purple for better prefix visibility
Change prefix indicator from muted purple (#b16286) to bright purple
(#d3869b) for much more noticeable visual feedback when prefix key
is pressed. Maintains gruvbox color harmony while providing clear
distinction from all other tmux theme elements.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:11:40 +02:00
Yan Lin
282e957913 Use gruvbox purple for prefix indicator to improve visibility
Change prefix session name background from yellow (#fabd2f) to purple
(#b16286) to avoid confusion with active window color. Purple provides
better visual distinction and is not used elsewhere in the tmux theme.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:09:56 +02:00
Yan Lin
a2088ce19f Replace text-based prefix indicator with session name color change
- Remove asymmetric <Prefix> text indicator from status-right
- Change session name background color when prefix is active:
  - Normal: gray background (#a89984)
  - Prefix active: yellow background (#fabd2f)
- Simplify time display to consistent ' %H:%M ' format
- Provides cleaner, more elegant visual prefix indication

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:07:42 +02:00
Yan Lin
b701e4d326 Fix tmux status bar time display symmetry
Add leading space before time format to ensure symmetric display.
Now shows [ 23:02 ] when prefix is inactive and <Prefix>[ 23:02 ]
when prefix is active, both properly centered in the status bar.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:04:36 +02:00
Yan Lin
4dffd92c1d Add time display to tmux status bar
Add %H:%M time format to the right side of the tmux status bar alongside
the existing prefix indicator. Increased status-right-length to 30 to
accommodate the time display.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:01:07 +02:00
Yan Lin
c3872475b5 Add database tools and improve tmux copy mode
Database Tools:
- Add lazysql: LazyGit-style TUI database management tool
- Add sqlite3: Official SQLite CLI for scripting and automation
- Comprehensive usage documentation for both tools
- Support for MySQL, PostgreSQL, and SQLite databases

Tmux Improvements:
- Fix copy mode to not exit after copying (copy-pipe vs copy-pipe-and-cancel)
- Allows multiple text selections without re-entering copy mode
- Manual exit control with q/Escape/Ctrl+c

System Optimizations:
- Add trusted binary caches for faster Nix builds
- Include nix-community and devenv cachix for improved performance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 17:17:03 +02:00
Yan Lin
539ba9fef7 Reorganize configuration into modular directory structure
- Create modules/ directory for Nix configuration modules
- Create config/ directory for configuration files
- Move nvim.nix, tmux.nix, zsh.nix to modules/
- Move p10k.zsh to config/
- Update flake.nix import paths to reference new structure
- Update zsh.nix p10k.zsh path reference
- Update README.md architecture documentation
- Keep tmux.sh at root for easy accessibility

This provides better separation between Nix modules and config files
while maintaining a clean, scalable structure.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:07:28 +02:00
Renamed from tmux.nix (Browse further)