Skip to content

Commit 215af3e

Browse files
committed
Document synchronize-panes auto-hide and custom refresh rate features in CONFIG.md
1 parent bdecfc6 commit 215af3e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

docs/CONFIG.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,15 +802,34 @@ nerdfont icons to consider:
802802

803803
### synchronize-panes - [up](#table-of-contents)
804804

805-
This widget displays whether the tmux panes are currently synchronised or not.
805+
This widget displays whether the tmux panes are currently synchronised.
806806

807807
To change the label:
808808

809809
```bash
810810
set -g @dracula-synchronize-panes-label "Sync"
811811
```
812812

813-
`set -g @dracula-refresh-rate 5` affects this widget
813+
The global refresh rate affects this widget:
814+
815+
```bash
816+
set -g @dracula-refresh-rate 5
817+
```
818+
819+
You can set a custom refresh rate just for synchronize-panes:
820+
821+
```bash
822+
set -g @dracula-synchronize-panes-refresh-rate "0.5" # default: unset
823+
```
824+
825+
**Note:** This only takes precedence for the synchronize-panes widget. This means it won't
826+
override the global `@dracula-refresh-rate`.
827+
828+
Alternatively, you can automatically hide the label when sync is `off`:
829+
830+
```bash
831+
set -g @dracula-synchronize-panes-auto-hide true # default: false
832+
```
814833

815834
### sys-temp - [up](#table-of-contents)
816835

0 commit comments

Comments
 (0)