daemon: inotify for panel_od and gu_mux_mode

This commit is contained in:
Luke D. Jones
2022-09-21 19:04:28 +12:00
parent a44a1bfa89
commit 56285916cd
8 changed files with 73 additions and 15 deletions

View File

@@ -86,7 +86,7 @@ pub fn start_notifications(
.spawn(async move {
let conn = zbus::Connection::system().await.unwrap();
let proxy = RogBiosProxy::new(&conn).await.unwrap();
if let Ok(p) = proxy.receive_notify_panel_overdrive().await {
if let Ok(p) = proxy.receive_notify_panel_od().await {
p.for_each(|_| {
bios_notified.store(true, Ordering::SeqCst);
future::ready(())