Skip to content

Commit

Permalink
tmux: properly truncate session name
Browse files Browse the repository at this point in the history
  • Loading branch information
chris468 committed Jun 23, 2024
1 parent ba394d3 commit 199a734
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dotfiles/private_dot_config/tmux/executable_theme.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ function dim_when_suspended() {
echo "#{?@theme468-suspended,$suspended,$default}"
}

tmux set -g status-left-length 0
tmux set -g @theme468-status-left-modules "session"
tmux set -g @theme468-status-right-modules "date host"

tmux set -g @theme468-window "#I#W "
tmux set -g @theme468-segment-session "#S"

tmux set -g @theme468-segment-session "#{=/15/…:session_name}"
tmux set -g @theme468-segment-session-icon ""
tmux set -g @theme468-segment-session-attr "bold"

Expand All @@ -30,9 +35,6 @@ tmux set -g default-terminal xterm-256color
tmux set -sa terminal-overrides ",xterm*:Tc"
tmux set -g display-time 4000

tmux set -g @theme468-status-left-modules "session"
tmux set -g @theme468-status-right-modules "date host"

tmux set -g @theme468-status-left-separator-outer ""
tmux set -g @theme468-status-left-separator-left ""
tmux set -g @theme468-status-left-separator-right ""
Expand Down

0 comments on commit 199a734

Please sign in to comment.