diff options
Diffstat (limited to 'src/config/tmuxrdr.rs')
| -rw-r--r-- | src/config/tmuxrdr.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config/tmuxrdr.rs b/src/config/tmuxrdr.rs new file mode 100644 index 00000000..3cd36642 --- /dev/null +++ b/src/config/tmuxrdr.rs @@ -0,0 +1,16 @@ +//! tmuxrdr's own config options. In a file of their own, so the patch to +//! herdr's config model stays a field and its default. + +use serde::{Deserialize, Serialize}; + +/// How the tab row draws its tabs: `ui.tab_style`. +#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize, Default)] +#[serde(rename_all = "snake_case")] +pub enum TabStyleConfig { + /// herdr's: centred, padded blocks; a named tab shows its name only. + #[default] + Herdr, + /// tmux's status line: `[session] 1:name* 2:name-`, plain text, one space + /// apart -- src/client/shell/tabs_tmux.rs. + Tmux, +} |
