diff --git a/.config/config.toml b/.config/config.toml index b89171b..e3f8083 100644 --- a/.config/config.toml +++ b/.config/config.toml @@ -44,16 +44,15 @@ input_bar_position = "bottom" # A list of builtin themes can be found in the `themes` directory of the television # repository. You may also create your own theme by creating a new file in a `themes` # directory in your configuration directory (see the `config.toml` location above). -theme = "gruvbox-dark" +theme = "catppuccin-mocha" # Previewers settings # ---------------------------------------------------------------------------- [previewers.file] -# The theme to use for syntax highlighting -# A list of available themes can be found in the https://github.com/sharkdp/bat -# repository which uses the same syntax highlighting engine as television -# You may add your own themes by following the instructions in the bat repository -theme = "gruvbox-dark" +# The theme to use for syntax highlighting. +# Bulitin syntax highlighting uses the same syntax highlighting engine as bat. +# To get a list of your currently available themes, run `bat --list-themes` +theme = "Coldark-Dark" # Keybindings # ---------------------------------------------------------------------------- diff --git a/crates/television/config.rs b/crates/television/config.rs index 2a8b284..e96171d 100644 --- a/crates/television/config.rs +++ b/crates/television/config.rs @@ -79,8 +79,8 @@ impl Config { let mut builder = config::Config::builder() .set_default("data_dir", data_dir.to_str().unwrap())? .set_default("config_dir", config_dir.to_str().unwrap())? - .set_default("ui", UiConfig::default())? - .set_default("previewers", PreviewersConfig::default())? + .set_default("ui", default_config.ui.clone())? + .set_default("previewers", default_config.previewers.clone())? .set_default("theme", default_config.ui.theme.clone())?; // Load the user's config file