diff options
| author | Daniel Jankowski <daniel.jankowski@rub.de> | 2023-09-08 08:51:12 +0200 |
|---|---|---|
| committer | Daniel Jankowski <daniel.jankowski@rub.de> | 2023-09-08 08:51:12 +0200 |
| commit | 9f2c00e277e20a4d58dfe1297400a5812cc271bb (patch) | |
| tree | 911a6e7b7484ea0a088b7a51f07ea6666b8e37e5 /README.md | |
| parent | feat: add index to tabs widget (diff) | |
| download | sl0pstatus-9f2c00e277e20a4d58dfe1297400a5812cc271bb.tar.gz sl0pstatus-9f2c00e277e20a4d58dfe1297400a5812cc271bb.tar.xz sl0pstatus-9f2c00e277e20a4d58dfe1297400a5812cc271bb.zip | |
chore: add example for tmux style config
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -14,8 +14,12 @@  <details> - <summary>Demo GIF</summary> - <img src="./assets/demo.gif" alt="Demo GIF of zellij with zjstatus" /> +<summary>Examples</summary> +<b>tmux style</b> +<img src="./examples/tmux.png" alt="tmux style bar" /> +<br> +<b>Demo GIF</b> +<img src="./assets/demo.gif" alt="Demo GIF of zellij with zjstatus" /> </details> ## 🚀 Installation @@ -144,10 +148,11 @@ sequence right before the handle in `format_left` or `format_right`. Print a list of current tabs. The name of the tab can be used with `{name}` in the config. The active tab will default to the normal formatting, if not configured. +With `{index}` the tab position can also be used. ```kdl # formatting for inactive tabs -tab_normal "#[fg=#6C7086] {name} " +tab_normal "#[fg=#6C7086] {index} :: {name} " # formatting for the current active tab tab_active "#[fg=#9399B2,bold,italic] {name} " |
