feat(config): allow status bar to be disabled by default
This allows setting the status bar visibility on load, rather than forcing it to be on by default. It also prevents flashing from the status bar if the status bar is disabled in config after plugins are loaded.
This commit is contained in:
parent
a0119d2528
commit
e321a25dab
2 changed files with 6 additions and 1 deletions
|
@ -322,7 +322,8 @@ main() {
|
|||
local modules_pane_path=$PLUGIN_DIR/pane
|
||||
|
||||
# status
|
||||
set status "on"
|
||||
local status_default=$(get_tmux_option "@catppuccin_status_default" "on")
|
||||
set status "$status_default"
|
||||
set status-bg "${thm_bg}"
|
||||
set status-justify "left"
|
||||
set status-left-length "100"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue