Commit graph

42 commits

Author SHA1 Message Date
Yan Lin
fce1cc3634 rearrange media modules 2026-02-11 08:43:53 +01:00
Yan Lin
8dbb879802 minor 2026-02-10 14:46:46 +01:00
Yan Lin
7daf3c2164 adjust tmux config 2026-02-01 07:16:13 +01:00
Yan Lin
4aa8a8dddf fix sesh popup size 2026-01-29 07:07:24 +01:00
Yan Lin
c2b70ec910 add sesh for session management 2026-01-28 21:06:41 +01:00
Yan Lin
1451b18083 add gemini to tmux resurrect process 2026-01-24 09:24:30 +01:00
Yan Lin
97eef6fe4d minor 2026-01-14 14:50:16 +01:00
Yan Lin
9b7c0787ab minor 2026-01-14 09:22:48 +01:00
Yan Lin
9c2ceaf763 minor fix 2026-01-13 15:42:27 +01:00
Yan Lin
7704958ad8 fix auto session save 2026-01-13 15:37:44 +01:00
Yan Lin
9926e8298f fix nvim restore 2026-01-13 14:32:30 +01:00
Yan Lin
e7af265892 add tmux session restore 2026-01-13 14:14:03 +01:00
Yan Lin
97613307cd remove activity highlight 2025-12-09 17:10:36 +01:00
Yan Lin
adb8ccbac1 minor fix 2025-12-04 18:52:21 +01:00
Yan Lin
9f3ec461c4 fix bold and italic font render 2025-12-03 15:45:12 +01:00
Yan Lin
236724a3ae minor 2025-11-02 19:05:33 +01:00
Yan Lin
756b320cb8 small fix for tmux 2025-10-29 20:44:55 +01:00
Yan Lin
cdb9717cca small fix for tmux 2025-10-29 20:41:50 +01:00
Yan Lin
77f1bfacc6 switch to ghostty 2025-10-21 21:18:05 +02:00
Yan Lin
5826ee52fc fix wl-copy issue 2025-10-20 23:07:03 +02:00
Yan Lin
e05f5ef788 fix tmux copy on nixos hosts 2025-10-20 16:19:17 +02:00
Yan Lin
e3e0bbc97e Minor 2025-10-06 14:50:19 +02:00
Yan Lin
d5700d8063 Add project 2025-10-06 14:42:22 +02:00
Yan Lin
acc6f48157 Another minor fix 2025-09-07 13:36:52 +02:00
Yan Lin
5505648610 Minor fix 2025-09-07 13:34:59 +02:00
Yan Lin
ad0fd99006 Add indicator to tmux for remote hosts 2025-09-07 13:32:37 +02:00
Yan Lin
0ed8b2069b Add hostname to tmux 2025-09-01 23:03:25 +02:00
Yan Lin
716d8578dc Add tmux window movement keybindings and update documentation
- Add Ctrl-Shift-Left/Right keybindings to quickly move windows
- Update README with comprehensive tmux keybindings documentation
  - Organize keybindings into categories: Pane, Window, Session & Config
  - Document all existing and new keybindings
  - Add descriptions for better clarity

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-31 01:08:11 +02:00
Yan Lin
ee38e45748 Minor change of tmux activity color 2025-07-31 00:46:27 +02:00
Yan Lin
c9abc7871c Fix gap color between session name and window tags
- Explicitly set gap background to main status bar color (#282828)
- Prevents gap from inheriting session section's background color
- Now properly matches the main status bar background

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:53:27 +02:00
Yan Lin
83f79484b9 Add gap between tmux session name and window tags
- Adds space after session name to match window tag spacing
- Creates consistent visual separation in status bar
- Improves overall status bar readability

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:51:33 +02:00
Yan Lin
b096984394 Update tmux indicator colors for better visibility
- Change prefix indicator from purple to bright red (#fb4934)
- Change copy mode position indicator from purple to bright yellow (#fabd2f)
- Both colors match existing gruvbox theme palette
- Improves visibility and consistency with nvim WIN indicator

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:47:41 +02:00
Yan Lin
0acbb7fca2 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>
2025-07-30 23:32:01 +02:00
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)