-
Notifications
You must be signed in to change notification settings - Fork 364
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
If @dracula-show-powerline is true, then the spacing between widgets on the right side of the status bar is inconsistent between @dracula-show-empty-plugins being true or false. The issue is line 381 in the following block:
Lines 377 to 382 in 7ac1537
| if $show_powerline; then | |
| if $show_empty_plugins; then | |
| tmux set-option -ga status-right " #[fg=${!colors[0]}]#[bg=${background_color}]#[nobold]#[nounderscore]#[noitalics]${right_sep}#[fg=${!colors[1]}]#[bg=${!colors[0]}]$pad_script$right_edge_icon" | |
| else | |
| tmux set-option -ga status-right "#{?#{==:$script,},,#[fg=${!colors[0]}]#[nobold]#[nounderscore]#[noitalics]${right_sep}#[fg=${!colors[1]}]#[bg=${!colors[0]}]$pad_script$right_edge_icon}" | |
| fi |
The line should be (note the space before #[fg=...
tmux set-option -ga status-right "#{?#{==:$script,},, #[fg=${!colors[0]}]#[nobold]#[nounderscore]#[noitalics]${right_sep}#[fg=${!colors[1]}]#[bg=${!colors[0]}]$pad_script$right_edge_icon}" To Reproduce
Expected behavior
Changing the value of @dracula-show-empty-plugins should not affect the spacing between widgets.
Screenshots
With @dracula-show-empty-plugins set to false:

With @dracula-show-empty-plugins set to true:

System
- OS: PopOS 24.04
- Tmux Version: 3.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working