Skip to content

Commit

Permalink
Revert "fix(window_builder): number position left (#205)" (#209)
Browse files Browse the repository at this point in the history
This reverts commit c0e072c.
  • Loading branch information
vdbe authored May 11, 2024
1 parent 75ffbfe commit 804f060
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions builder/window_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ build_window_format() {
fi

if [ "$fill" = "number" ]; then
local show_middle_separator
local show_number="#[fg=$background,bg=$color]$number"
local show_middle_separator="#[fg=$color,bg=$background,nobold,nounderscore,noitalics]$window_middle_separator"
local show_text="#[fg=$thm_fg,bg=$background]$text"

if [ "$window_number_position" = "right" ]; then
show_middle_separator="#[fg=$color,bg=$background,nobold,nounderscore,noitalics]$window_middle_separator"
if [ "$status_connect_separator" = "yes" ]; then
local show_left_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$window_left_separator"
local show_right_separator="#[fg=$color,bg=$thm_bg]$window_right_separator"
Expand All @@ -66,8 +65,6 @@ build_window_format() {
fi

if [ "$window_number_position" = "left" ]; then
show_middle_separator="#[fg=$background,bg=$color,nobold,nounderscore,noitalics]$window_middle_separator"

if [ "$status_connect_separator" = "yes" ]; then
local show_right_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$window_right_separator"
local show_left_separator="#[fg=$color,bg=$thm_bg]$window_left_separator"
Expand Down

0 comments on commit 804f060

Please sign in to comment.