Update titles

This commit is contained in:
David Tomaschik
2025-05-07 14:25:03 -07:00
parent e227b65d6d
commit 5658c61627
2 changed files with 32 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ set -g pane-base-index 1
# Terminal emulator window title
set -g set-titles on
set -g set-titles-string '#h:#S:#I.#P #W'
set -g set-titles-string '#h:#S:#I.#P #W#{?pane_title, (#{pane_title}),}'
# Set keybindings
set -g mode-keys vi
@@ -43,8 +43,8 @@ source-file ~/.tmux/tmux-solarized-256.conf
set -g window-status-current-style fg=colour235,bg=colour33,bold
set -g status-interval 60
set -g status-left-length 30
set -g status-left '/#S/ '
set -g status-right '#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=colour166]%H:%M#[default]'
set -g status-left '/#h: #S/ '
set -g status-right '#{?pane_title,/#{pane_title}/ ,}#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=colour166]%H:%M#[default]'
# Advanced mouse mode from http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
# Toggle mouse on