feat: partial implementation of wallpaper settings

Will take some time to refactor the rest
This commit is contained in:
Michael Aaron Murphy 2023-05-22 17:26:14 +02:00
parent 14a4a23bc9
commit a4eee2186c
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
14 changed files with 375 additions and 80 deletions

View file

@ -83,3 +83,12 @@ impl Info {
}
}
}
#[macro_export]
macro_rules! update {
($binder:expr, $message:expr, $page:ty) => {{
if let Some(page) = $binder.page_mut::<$page>() {
page.update($message);
}
}};
}