Merge pull request #148 from connordeckers/main

feat(config): allow status bar to be disabled by default
This commit is contained in:
Valentin Uveges 2024-03-07 07:36:41 +02:00 committed by GitHub
commit aa12d6f0ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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"