mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Manage add/remove aura
Serialize aura config filename
This commit is contained in:
@@ -3,9 +3,9 @@ use rog_anime::{Animations, AnimeDataBuffer, DeviceState as AnimeDeviceState};
|
||||
use zbus::proxy;
|
||||
|
||||
#[proxy(
|
||||
interface = "org.asuslinux.Daemon",
|
||||
interface = "org.asuslinux.Anime",
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux/Anime"
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait Anime {
|
||||
/// DeviceState method
|
||||
|
||||
@@ -32,7 +32,7 @@ use zbus::{proxy, Result};
|
||||
const BLOCKING_TIME: u64 = 33; // 100ms = 10 FPS, max 50ms = 20 FPS, 40ms = 25 FPS
|
||||
|
||||
#[proxy(
|
||||
interface = "org.asuslinux.Daemon",
|
||||
interface = "org.asuslinux.Aura",
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux/Aura"
|
||||
)]
|
||||
|
||||
@@ -26,9 +26,9 @@ use rog_profiles::FanCurvePU;
|
||||
use zbus::proxy;
|
||||
|
||||
#[proxy(
|
||||
interface = "org.asuslinux.Daemon",
|
||||
interface = "org.asuslinux.FanCurves",
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux/FanCurves"
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait FanCurves {
|
||||
/// Get the fan-curve data for the currently active PlatformProfile
|
||||
|
||||
@@ -25,9 +25,9 @@ use rog_platform::platform::{GpuMode, Properties, ThrottlePolicy};
|
||||
use zbus::proxy;
|
||||
|
||||
#[proxy(
|
||||
interface = "org.asuslinux.Daemon",
|
||||
interface = "org.asuslinux.Platform",
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux/Platform"
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait Platform {
|
||||
/// NextThrottleThermalPolicy method
|
||||
|
||||
Reference in New Issue
Block a user