diff --git a/README.md b/README.md index 29ef238f..dd6c578f 100644 --- a/README.md +++ b/README.md @@ -258,6 +258,16 @@ Values: - icon - only the icon of the module will have color - all - the entire module will have the same color +#### Set the status module justify value: +```sh +set -g @catppuccin_status_justify "left" +``` +Values: +- left +- centre - puts the window list in the relative centre of the available free space +- right +- absolute-centre - uses the centre of the entire horizontal space + ### Pane ```sh diff --git a/catppuccin.tmux b/catppuccin.tmux index 0f94bf1b..ade93248 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -322,9 +322,11 @@ main() { # status local status_default=$(get_tmux_option "@catppuccin_status_default" "on") + local status_justify=$(get_tmux_option "@catppuccin_status_justify" "left") + set status "$status_default" + set status-justify "$status_justify" set status-bg "${thm_bg}" - set status-justify "left" set status-left-length "100" set status-right-length "100"