Manage add/remove aura

Serialize aura config filename
This commit is contained in:
Luke D. Jones
2024-03-18 16:22:18 +13:00
parent 014604724f
commit 5c43c31331
30 changed files with 690 additions and 298 deletions

View File

@@ -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

View File

@@ -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"
)]

View File

@@ -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

View File

@@ -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