From 00495ccacf21c4699d9e74f809d922d2f30c79e8 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 26 Nov 2024 15:17:16 +0100 Subject: [PATCH] move bat theme to light/dark functions --- dot_config/fish/private_config.fish.tmpl | 2 -- dot_config/fish/private_functions/dark.fish | 1 + dot_config/fish/private_functions/light.fish | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index d1acdc2..7357f53 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -17,8 +17,6 @@ set -gx VIRTUAL_ENV_DISABLE_PROMPT 1 set -gx LANG en_US.UTF-8 -set -gx BAT_THEME "Solarized (dark)" - set -gx GITLABBER_FOLDER_NAMING path set -gx GITLABBER_CLONE_METHOD ssh set -gx GITLABBER_GIT_CONCURRENCY 10 diff --git a/dot_config/fish/private_functions/dark.fish b/dot_config/fish/private_functions/dark.fish index adda9e8..9c0074f 100644 --- a/dot_config/fish/private_functions/dark.fish +++ b/dot_config/fish/private_functions/dark.fish @@ -1,4 +1,5 @@ function dark --description 'Set shell theme to dark mode, including neovim' yes | fish_config theme save "Catppuccin Mocha" +set -Ux BAT_THEME "Catppuccin Mocha" update_nvim_theme dark end diff --git a/dot_config/fish/private_functions/light.fish b/dot_config/fish/private_functions/light.fish index 99d7e4f..23f8895 100644 --- a/dot_config/fish/private_functions/light.fish +++ b/dot_config/fish/private_functions/light.fish @@ -1,4 +1,5 @@ function light --description 'Set shell theme to light mode, including neovim' yes | fish_config theme save "Catppuccin Latte" +set -Ux BAT_THEME "Catppuccin Latte" update_nvim_theme light end