Adding option to enable window_tabs;

This option, for now, defaults to false. This is just so it keeps the
initial design intention for the original design of the plugin. I may
flip it or change the name of the variable in future commits. This patch
is addressing catppuccin/tmux#16.

Co-Authored-By: Robert Menke <robert.b.menke@gmail.com>
This commit is contained in:
Roger Steve Ruiz 2022-11-23 14:10:27 -05:00
parent d9e5c6d1e3
commit 7208fc8363
No known key found for this signature in database
GPG key ID: 68061DBF1C4C0B44

View file

@ -16,7 +16,9 @@ get-tmux-option() {
main() {
local theme
local window_tabs_enabled
theme="$(get-tmux-option "@catppuccin_flavour" "mocha")"
window_tabs_enabled="$(get-tmux-option "@catppuccin_window_tabs_enabled" "false")"
tmux run -b "$CURRENT_DIR/catppuccin-${theme}.tmuxtheme"
}