Skip to content

Commit 16c2940

Browse files
committed
fix(edge-icons): correct window separator colors with $transparent_powerline_bg:
Fixed the edge icons colors and styles when `$transparent_powerline_bg` is false. This ensures that the correct colors are applied based on the edge icon configuration.
1 parent d2b7b1a commit 16c2940

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

scripts/dracula.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,15 @@ main()
6868
window_sep="$show_inverse_divider"
6969
else
7070
bg_color=${gray}
71-
window_sep_fg=${gray}
72-
window_sep_bg=${dark_purple}
73-
window_sep="$show_left_sep"
71+
if $show_edge_icons; then
72+
window_sep_fg=${dark_purple}
73+
window_sep_bg=${gray}
74+
window_sep="$show_inverse_divider"
75+
else
76+
window_sep_fg=${gray}
77+
window_sep_bg=${dark_purple}
78+
window_sep="$show_left_sep"
79+
fi
7480
fi
7581

7682
# Handle left icon configuration

0 commit comments

Comments
 (0)