fixing linux stuff

This commit is contained in:
2026-02-02 19:26:01 +01:00
parent 7626f97695
commit cd8182425a
28 changed files with 36 additions and 90 deletions

View File

@@ -44,8 +44,6 @@ pub struct DisplaySettings {
pub show_spectrum: bool,
#[serde(default = "default_true")]
pub show_completion: bool,
#[serde(default = "default_flash_brightness")]
pub flash_brightness: f32,
#[serde(default = "default_font")]
pub font: String,
#[serde(default)]
@@ -60,8 +58,6 @@ fn default_font() -> String {
"8x13".to_string()
}
fn default_flash_brightness() -> f32 { 1.0 }
#[derive(Debug, Serialize, Deserialize)]
pub struct LinkSettings {
pub enabled: bool,
@@ -92,7 +88,6 @@ impl Default for DisplaySettings {
show_scope: true,
show_spectrum: true,
show_completion: true,
flash_brightness: 1.0,
font: default_font(),
color_scheme: ColorScheme::default(),
layout: MainLayout::default(),