mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
Update readme, slash configs
This commit is contained in:
@@ -57,6 +57,6 @@ pub trait FanCurves {
|
||||
&self,
|
||||
profile: ThrottlePolicy,
|
||||
fan: FanCurvePU,
|
||||
enabled: bool,
|
||||
enabled: bool
|
||||
) -> zbus::Result<()>;
|
||||
}
|
||||
|
||||
@@ -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<()>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user