feat(status): Add support for status module middle separators (#310)
* added middle separator for status * fixed color + updated readme * Update README.md Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com> --------- Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>
This commit is contained in:
parent
c43c10fe94
commit
1612a23174
3 changed files with 11 additions and 2 deletions
|
@ -18,6 +18,7 @@ build_status_module() {
|
|||
fi
|
||||
|
||||
local show_left_separator="#[fg=$color,bg=$bg,nobold,nounderscore,noitalics]$status_left_separator"
|
||||
local show_middle_separator="#[fg=$color,bg=$thm_gray,nobold,nounderscore,noitalics]$status_middle_separator"
|
||||
local show_right_separator="#[fg=$thm_gray,bg=$bg,nobold,nounderscore,noitalics]$status_right_separator"
|
||||
fi
|
||||
|
||||
|
@ -44,5 +45,5 @@ build_status_module() {
|
|||
show_icon=""
|
||||
fi
|
||||
|
||||
echo "$show_left_separator$show_icon$show_text$show_right_separator"
|
||||
echo "$show_left_separator$show_icon$show_middle_separator$show_text$show_right_separator"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue