fixed transparent defaulting to true
This commit is contained in:
@@ -4,9 +4,9 @@ use std::fs;
|
|||||||
|
|
||||||
/// Configuration for the application's appearance.
|
/// Configuration for the application's appearance.
|
||||||
#[derive(Debug, Deserialize, Serialize, Clone)]
|
#[derive(Debug, Deserialize, Serialize, Clone)]
|
||||||
|
#[serde(default)]
|
||||||
pub struct ThemeConfig {
|
pub struct ThemeConfig {
|
||||||
/// If true, skip rendering the background block to let the terminal's transparency show.
|
/// If true, skip rendering the background block to let the terminal's transparency show.
|
||||||
#[serde(default)]
|
|
||||||
pub transparent: bool,
|
pub transparent: bool,
|
||||||
/// Color for standard background areas (when not transparent).
|
/// Color for standard background areas (when not transparent).
|
||||||
pub crust: String,
|
pub crust: String,
|
||||||
@@ -91,6 +91,7 @@ impl Default for ThemeConfig {
|
|||||||
|
|
||||||
/// Custom keybindings for navigation and application control.
|
/// Custom keybindings for navigation and application control.
|
||||||
#[derive(Debug, Deserialize, Serialize, Clone)]
|
#[derive(Debug, Deserialize, Serialize, Clone)]
|
||||||
|
#[serde(default)]
|
||||||
pub struct KeybindsConfig {
|
pub struct KeybindsConfig {
|
||||||
pub down: String,
|
pub down: String,
|
||||||
pub up: String,
|
pub up: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user