Merge pull request #112 from aug0stus/fix-right-status-spacing

Fix right status spacing
This commit is contained in:
Ethan Edwards 2021-07-30 14:31:08 -04:00 committed by GitHub
commit a66adddfc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,14 +187,12 @@ main()
fi
if $show_powerline; then
tmux set-option -ga status-right "#[fg=${!colors[0]},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${!colors[1]},bg=${!colors[0]}] $script"
tmux set-option -ga status-right "#[fg=${!colors[0]},bg=${powerbg},nobold,nounderscore,noitalics]${right_sep}#[fg=${!colors[1]},bg=${!colors[0]}] $script "
powerbg=${!colors[0]}
else
tmux set-option -ga status-right "#[fg=${!colors[1]},bg=${!colors[0]}] $script"
tmux set-option -ga status-right "#[fg=${!colors[1]},bg=${!colors[0]}] $script "
fi
done
tmux set-option -ga status-right " "
# Window option
if $show_powerline; then
@ -210,4 +208,3 @@ main()
# run main function
main