mirror of
https://github.com/o0th/tmux-nova.git
synced 2026-09-10 07:16:28 -04:00
docs: whoami segment
This commit is contained in:
parent
28bde29a7c
commit
048feffd7c
BIN
.github/assets/tmux-nova-segment-whoami.png
vendored
Normal file
BIN
.github/assets/tmux-nova-segment-whoami.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
10
.github/readme.md
vendored
10
.github/readme.md
vendored
|
|
@ -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"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue