@@ -70,18 +70,18 @@ set -ga update-environment FZF_DEFAULT_OPTS
7070# Status Line and Theming
7171# --------------------------------------------------------------------------
7272# Define color variables
73- thm_bg=" default"
74- thm_bg_dark=" default"
75- thm_fg=" #c0caf5 "
76- thm_gray=" #9499b8 "
77- thm_magenta=" #bb9af7 "
78- thm_pink=" #ff007c "
79- thm_green=" #9ece6a "
80- thm_blue=" #2ac3de "
81- thm_black=" #414868 "
82- thm_yellow=" #e0af68 "
83- thm_selected=" #364a82 "
84- thm_match=" #3d59a1 "
73+ thm_bg=" default" # keep, uses terminal/bg
74+ thm_bg_dark=" default" # same
75+ thm_fg=" #c5c8c9 " # light foreground (no-clown-fiesta fg1)
76+ thm_gray=" #7c7f93 " # muted gray
77+ thm_magenta=" #b77ee0 " # violet/purple accent
78+ thm_pink=" #e46876 " # wave red/pink accent
79+ thm_green=" #87a35e " # autumn green
80+ thm_blue=" #7aa89f " # wave aqua (soft teal-blue)
81+ thm_black=" #1b1d26 " # sumiInk background tone
82+ thm_yellow=" #e6c384 " # carp yellow
83+ thm_selected=" #2d353b " # selection (sumiInk3)
84+ thm_match=" #a3d4d5 " # crystal aqua highlight
8585
8686# Enable status line and position it
8787set -g status " on"
@@ -91,20 +91,21 @@ set -g status-style 'fg=white'
9191
9292# Window/pane border styles
9393set -g pane-border-style " fg=#2c2f3d,bg=default"
94- set -g pane-active-border-style " fg=${thm_match } "
94+ set -g pane-active-border-style " fg=${thm_gray } "
9595set -gw pane-border-indicators ' colour'
9696set -g window-status-activity-style " none"
9797set-hook -g -w pane-focus-in " set-option -Fw pane-border-status '#{?#{e|>:#{window_panes},1},top,off}'"
98+ set -g pane-border-format " #H"
9899
99100
100101# Status left: session name
101- set -g status-left " #[fg=#{?client_prefix,${thm_yellow} ,${thm_fg} },bg=${thm_bg_dark} ]#S#[fg=${thm_fg} ,bg=default] ▸ "
102+ set -g status-left " #[fg=#{?client_prefix,${thm_yellow} ,${thm_fg} },bg=${thm_bg_dark} ]#S#[fg=${thm_fg} ,bg=default] "
102103
103104# Status left length
104105set -g status-left-length 30
105106
106107# Status right: Disabled for now
107- set -g status-right " "
108+ set -g status-right ' #{?#{==:#{pane_current_command},nvim},#($HOME/.config/tmux/scripts/git-status.sh #{pane_current_path}),} '
108109
109110# Update status interval
110111set -g status-interval 1
@@ -207,10 +208,6 @@ bind y run -b "tmux show-buffer | pbcopy" \; display-message "copied tmux buffer
207208bind-key B break-pane -d
208209bind-key E command-prompt -p " join pane from: " " join-pane -h -s '%%'"
209210
210- # Toggle tmux status bar top/bottom
211- bind-key C-k run-shell " tmux set-option -g status-position top;"
212- bind-key C-j run-shell " tmux set-option -g status-position bottom;"
213-
214211# Opencode popup menu
215212bind o popup -E -d " #{pane_current_path}" -w 90% -h 90% " opencode"
216213bind O new-window -n " opencode" -c " #{pane_current_path}" " opencode"
@@ -219,7 +216,7 @@ bind O new-window -n " opencode" -c "#{pane_current_path}" "opencode"
219216# Sesh Integration
220217# --------------------------------------------------------------------------
221218bind-key " T" run-shell " sesh connect \" $(
222- sesh list --icons | fzf-tmux -p 55 %,60% \
219+ sesh list --icons | fzf-tmux -p 80 %,60% \
223220 --no-sort --ansi --border-label ' sesh ' --prompt ' ⚡ ' \
224221 --header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
225222 --bind ' tab:down,btab:up' \
@@ -229,14 +226,29 @@ bind-key "T" run-shell "sesh connect \"$(
229226 --bind ' ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \
230227 --bind ' ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
231228 --bind ' ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' \
232- --preview-window ' right:55 %' \
229+ --preview-window ' right:0 %' \
233230 --preview ' sesh preview {}'
234231) \" "
235232
233+ # Find and jump to window
234+ bind f display-popup -E " \
235+ tmux list-windows -F '#{window_index} #{window_name}' |\
236+ sed '/^$/d' |\
237+ fzf --reverse --header select-window |\
238+ cut -d ' ' -f 1 |\
239+ xargs tmux select-window -t"
240+
241+ # Find and jump to session
242+ bind e display-popup -E " \
243+ tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\
244+ sed '/^$/d' |\
245+ fzf --reverse --header select-session |\
246+ xargs tmux switch-client -t"
247+
236248# --------------------------------------------------------------------------
237249# List Panes Integration
238250# --------------------------------------------------------------------------
239- bind-key f run-shell -b " $HOME /.config/tmux/scripts/list-panes.sh"
251+ # bind-key f run-shell -b "$HOME/.config/tmux/scripts/list-panes.sh"
240252
241253# --------------------------------------------------------------------------
242254# Plugins
0 commit comments