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:
Bryan SebaRaj 2024-09-17 02:53:41 -04:00 committed by GitHub
parent c43c10fe94
commit 1612a23174
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 2 deletions

View file

@ -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"
}