refactor: Address review feedback

- Remove deprecated supergfx integration
- Ensure DBus is used instead of direct calls (verified)
- Clean up unused imports and modules
This commit is contained in:
mihai2mn
2026-01-17 00:05:45 +01:00
parent f5f997e057
commit 37c74a6bba
21 changed files with 699 additions and 649 deletions
+15
View File
@@ -84,6 +84,21 @@ pub trait Aura {
/// SupportedPowerZones property
#[zbus(property)]
fn supported_power_zones(&self) -> zbus::Result<Vec<PowerZones>>;
/// Start a software-controlled animation in the daemon
/// `mode_json` is a JSON-serialized AnimationMode
fn start_animation(&self, mode_json: String) -> zbus::Result<()>;
/// Stop any running animation
fn stop_animation(&self) -> zbus::Result<()>;
/// AnimationRunning property - check if animation is active
#[zbus(property)]
fn animation_running(&self) -> zbus::Result<bool>;
/// AnimationMode property - get current animation mode as JSON
#[zbus(property)]
fn animation_mode(&self) -> zbus::Result<String>;
}
pub struct AuraProxyPerkey<'a>(AuraProxyBlocking<'a>);