mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 18:56:49 -04:00
screenreader: Enable or disable orca unit as needed
This commit is contained in:
parent
04dc78fdd1
commit
e21153671b
2 changed files with 37 additions and 19 deletions
|
@ -115,7 +115,6 @@ impl<'dbus> SystemdUnit<'dbus> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub async fn enable(&self) -> Result<bool> {
|
||||
let manager = SystemdManagerProxy::new(&self.connection).await?;
|
||||
let (_, res) = manager
|
||||
|
@ -124,7 +123,6 @@ impl<'dbus> SystemdUnit<'dbus> {
|
|||
Ok(!res.is_empty())
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub async fn disable(&self) -> Result<bool> {
|
||||
let manager = SystemdManagerProxy::new(&self.connection).await?;
|
||||
let res = manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue