« get me outta code hell

tmux: session and window name in title - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-05-17 13:46:10 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-05-17 13:46:10 -0300
commitf1dfb327b52fc7e2dd166de903a509bc72de58eb (patch)
tree38da3497265612563d1a7590090050911d370205
parentd0a79c3716d643fa1e936434fc00a0de88d42983 (diff)
tmux: session and window name in title HEAD main
-rw-r--r--.tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 04760e3..89a5d4b 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -8,6 +8,9 @@ set -sg escape-time 0
 set -g status-style bg=colour235,fg=colour249
 set-window-option -g window-status-current-style fg=colour251,bright
 
+set -g set-titles on
+set -g set-titles-string "#S: #W"
+
 bind '"' split-window -c "#{pane_current_path}"
 bind % split-window -h -c "#{pane_current_path}"
 bind c new-window -c "#{pane_current_path}"