feat(status, window): add option to make overwrite status background … (#170)

* feat(status, window): add option to make overwrite status background color, add option to set the separator between windows

* feat(window): update documentation

* feat(window): update documentation
This commit is contained in:
Valentin Uveges 2024-03-24 10:36:51 +02:00 committed by GitHub
parent e80cb735bb
commit 809361f5c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 74 additions and 43 deletions

View file

@ -18,25 +18,25 @@
## Content
1. [Themes](#themes)
2. [Installation](#installation)
3. [Overview](#overview)
4. [Configuration options](#configuration-options)
1. [Installation](#installation)
1. [Overview](#overview)
1. [Configuration options](#configuration-options)
1. [Window](#window)
2. [Window default](#window-default)
3. [Window current](#window-current)
4. [Status](#status)
4. [Pane](#pane)
5. [Customizing modules](#customizing-modules)
6. [Battery module](#battery-module)
7. [CPU module](#CPU-module)
8. [Weather modules](#weather-modules)
9. [Load module](#load-module)
10. [Uptime module](#uptime-module)
5. [Create a custom module](#create-a-custom-module)
6. [Configuration Examples](#configuration-examples)
1. [Window default](#window-default)
1. [Window current](#window-current)
1. [Status](#status)
1. [Pane](#pane)
1. [Customizing modules](#customizing-modules)
1. [Battery module](#battery-module)
1. [CPU module](#CPU-module)
1. [Weather modules](#weather-modules)
1. [Load module](#load-module)
1. [Uptime module](#uptime-module)
1. [Create a custom module](#create-a-custom-module)
1. [Configuration Examples](#configuration-examples)
1. [Config 1](#config-1)
2. [Config 2](#config-2)
3. [Config 3](#config-3)
1. [Config 2](#config-2)
1. [Config 3](#config-3)
## Themes
@ -90,6 +90,11 @@ options to your Tmux configuration.
### Window
### Set the window separator
```sh
set -g @catppuccin_window_separator ""
```
#### Set the window left separator:
```sh
set -g @catppuccin_window_left_separator "█"
@ -221,6 +226,21 @@ set -g @catppuccin_pane_active_border_style "fg=red" # Use a value compatible wi
#### Set the default status bar visibility
```sh
set -g @catppuccin_status_default "off" # defaults to "on"
```
#### Override the default status background color
```sh
set -g @catppuccin_status_background "theme"
```
This will overwrite the status bar background:
- "theme" will use the color from the selected theme
- "default" will make the status bar transparent
- use hex color codes for other colors
Note: you need to restart tmux for this to take effect:
```sh
tmux kill-server & tmux
```
#### Set the status module left separator: