fix: status module trailing space transparancy (#250)
This commit is contained in:
parent
598e9e9193
commit
735363e7a0
1 changed files with 6 additions and 6 deletions
|
@ -7,18 +7,18 @@ build_status_module() {
|
||||||
local text="$4"
|
local text="$4"
|
||||||
|
|
||||||
if [ "$status_fill" = "icon" ]; then
|
if [ "$status_fill" = "icon" ]; then
|
||||||
|
local bg
|
||||||
local show_icon="#[fg=$thm_bg,bg=$color,nobold,nounderscore,noitalics]$icon "
|
local show_icon="#[fg=$thm_bg,bg=$color,nobold,nounderscore,noitalics]$icon "
|
||||||
local show_text="#[fg=$thm_fg,bg=$thm_gray] $text"
|
|
||||||
|
|
||||||
if [ "$status_connect_separator" = "yes" ]; then
|
if [ "$status_connect_separator" = "yes" ]; then
|
||||||
local show_left_separator="#[fg=$color,bg=$thm_gray,nobold,nounderscore,noitalics]$status_left_separator"
|
bg="$thm_gray"
|
||||||
local show_right_separator="#[fg=$thm_gray,bg=$thm_gray,nobold,nounderscore,noitalics]$status_right_separator"
|
|
||||||
|
|
||||||
else
|
else
|
||||||
local show_left_separator="#[fg=$color,bg=default,nobold,nounderscore,noitalics]$status_left_separator"
|
bg="default"
|
||||||
local show_right_separator="#[fg=$thm_gray,bg=default,nobold,nounderscore,noitalics]$status_right_separator"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local show_text="#[fg=$thm_fg,bg=$bg] $text"
|
||||||
|
local show_left_separator="#[fg=$color,bg=$bg,nobold,nounderscore,noitalics]$status_left_separator"
|
||||||
|
local show_right_separator="#[fg=$thm_gray,bg=$bg,nobold,nounderscore,noitalics]$status_right_separator"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$status_fill" = "all" ]; then
|
if [ "$status_fill" = "all" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue