docs: whoami segment

This commit is contained in:
o0th 2023-02-17 11:31:48 +01:00
parent 28bde29a7c
commit 048feffd7c
2 changed files with 10 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

10
.github/readme.md vendored
View file

@ -114,15 +114,25 @@ Mode segment
```bash
set -g @nova-segment-mode "#{?client_prefix,Ω,ω}"
set -g @nova-segment-mode-colors "#50fa7b #282a36"
set -g @nova-segments-0-left "mode"
set -g @nova-segments-0-right ""
```
Whoami segment
<p align="center">
<a><img src="assets/tmux-nova-segment-whoami.png" alt="screenshot"></a>
</p>
```bash
set -g @nova-segment-mode "#{?client_prefix,Ω,ω}"
set -g @nova-segment-mode-colors "#50fa7b #282a36"
set -g @nova-segment-whoami "#(whoami)@#h"
set -g @nova-segment-whoami-colors "#50fa7b #282a36"
set -g @nova-segments-0-left "mode"
set -g @nova-segments-0-right "whoami"
```