Merge pull request #148 from connordeckers/main
feat(config): allow status bar to be disabled by default
This commit is contained in:
commit
aa12d6f0ef
2 changed files with 6 additions and 1 deletions
|
@ -218,6 +218,10 @@ set -g @catppuccin_pane_active_border_style "fg=red" # Use a value compatible wi
|
||||||
|
|
||||||
|
|
||||||
### Status
|
### Status
|
||||||
|
#### Set the default status bar visibility
|
||||||
|
```sh
|
||||||
|
set -g @catppuccin_status_default "off" # defaults to "on"
|
||||||
|
```
|
||||||
|
|
||||||
#### Set the status module left separator:
|
#### Set the status module left separator:
|
||||||
```sh
|
```sh
|
||||||
|
|
|
@ -322,7 +322,8 @@ main() {
|
||||||
local modules_pane_path=$PLUGIN_DIR/pane
|
local modules_pane_path=$PLUGIN_DIR/pane
|
||||||
|
|
||||||
# status
|
# 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-bg "${thm_bg}"
|
||||||
set status-justify "left"
|
set status-justify "left"
|
||||||
set status-left-length "100"
|
set status-left-length "100"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue