feature: watch primary backlight and sync screenpad to it

This commit is contained in:
Luke Jones
2025-04-06 02:19:04 +12:00
parent 836575c0a8
commit 9db6cb5545
2 changed files with 67 additions and 7 deletions

View File

@@ -93,6 +93,7 @@ async fn start_daemon() -> Result<(), Box<dyn Error>> {
match CtrlBacklight::new(config.clone()) {
Ok(backlight) => {
backlight.start_watch_primary().await?;
backlight.add_to_server(&mut server).await;
}
Err(err) => {