aboutsummaryrefslogtreecommitdiff
path: root/tmuxrdr/config/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tmuxrdr/config/config.toml')
-rw-r--r--tmuxrdr/config/config.toml27
1 files changed, 19 insertions, 8 deletions
diff --git a/tmuxrdr/config/config.toml b/tmuxrdr/config/config.toml
index 76feb830..82e4bca3 100644
--- a/tmuxrdr/config/config.toml
+++ b/tmuxrdr/config/config.toml
@@ -336,9 +336,18 @@ copy_on_select = false
# default 5". herdr's default is already 3, left explicit.
mouse_scroll_lines = 3
-# # tmux's status line sits at the bottom of the screen; herdr draws its tab bar
-# # at the top by default. Bottom, like tmux.
-# tab_bar_position = "bottom"
+# tmux's status line sits at the bottom of the screen; herdr draws its tab bar
+# at the top by default. Bottom, like tmux.
+tab_bar_position = "bottom"
+
+# tmux's status line, drawn by tmuxrdr's own ui.tab_style
+# (src/client/shell/tabs_tmux.rs): "[session] 1:name* 2:name- 3:name ",
+# window-status-format "#I:#W#{?window_flags,#{window_flags}, }", plain text
+# one space apart, the session cut to status-left-length 10, tabs nobody named
+# called after their pane's directory (this tmux.conf's automatic-rename-format
+# '#{b:pane_current_path}'). herdr's own style draws padded blocks, and shows
+# a named tab's name without its number.
+tab_style = "tmux"
# tmux.conf: set-option -g status-right '#h %a %d-%b %H:%M', replaced by
# ~/.tmux.conf.local with '%d-%b %H:%M' -- day-month and time at the right edge
@@ -356,11 +365,13 @@ prompt_new_tab_name = false
# tmux.conf: automatic-rename on, automatic-rename-format
# '#{b:pane_current_path}', status-interval 5 -- windows name themselves after
-# their pane's directory. herdr names no tab (an unnamed one shows its place
-# in the tab bar). tmux-mode's bin/automatic-rename does it, a manual rename
-# switching it off for that tab as in tmux, run every 5 s as a tab_bar_right
-# command entry that prints nothing. Off while tab_bar_right is commented out
-# above; to have it, give tab_bar_right this entry:
+# their pane's directory. tab_style = "tmux" above already shows tabs that way,
+# in this client. herdr itself names no tab: everywhere else -- the navigator,
+# the CLI -- an unnamed tab is its number. tmux-mode's bin/automatic-rename
+# gives tabs real names on the server, a manual rename switching it off for
+# that tab as in tmux, run every 5 s as a tab_bar_right command entry that
+# prints nothing. Not in tab_bar_right above; to have it, add this entry
+# there:
# { type = "command", command = "sh ~/.local/share/tmuxrdr/plugin/bin/automatic-rename", interval_seconds = 5, timeout_seconds = 4 }
# tmux draws pane borders only when a window is split; a lone pane has none.