Update readme, slash configs

This commit is contained in:
Luke D. Jones
2025-01-12 17:36:10 +13:00
parent 2123f369ad
commit 128bc3fce1
113 changed files with 1545 additions and 1305 deletions

View File

@@ -57,6 +57,6 @@ pub trait FanCurves {
&self,
profile: ThrottlePolicy,
fan: FanCurvePU,
enabled: bool,
enabled: bool
) -> zbus::Result<()>;
}

View File

@@ -27,7 +27,37 @@ pub trait Slash {
/// Slash modes property
#[zbus(property)]
fn slash_mode(&self) -> zbus::Result<SlashMode>;
fn mode(&self) -> zbus::Result<SlashMode>;
#[zbus(property)]
fn set_slash_mode(&self, value: SlashMode) -> zbus::Result<()>;
fn set_mode(&self, value: SlashMode) -> zbus::Result<()>;
/// ShowBatteryWarning property
#[zbus(property)]
fn show_battery_warning(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn set_show_battery_warning(&self, value: bool) -> zbus::Result<()>;
/// ShowOnBattery property
#[zbus(property)]
fn show_on_battery(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn set_show_on_battery(&self, value: bool) -> zbus::Result<()>;
/// ShowOnBoot property
#[zbus(property)]
fn show_on_boot(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn set_show_on_boot(&self, value: bool) -> zbus::Result<()>;
/// ShowOnShutdown property
#[zbus(property)]
fn show_on_shutdown(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn set_show_on_shutdown(&self, value: bool) -> zbus::Result<()>;
/// ShowOnSleep property
#[zbus(property)]
fn show_on_sleep(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn set_show_on_sleep(&self, value: bool) -> zbus::Result<()>;
}