Add theme and theme_changes functions to system
This commit is contained in:
parent
9518573fce
commit
09c604c92d
24 changed files with 186 additions and 102 deletions
|
|
@ -3,13 +3,6 @@ use crate::graphics::compositor;
|
|||
use crate::runtime::system::{Action, Information};
|
||||
use crate::runtime::{self, Task};
|
||||
|
||||
/// Query for available system information.
|
||||
pub fn fetch_information() -> Task<Information> {
|
||||
runtime::task::oneshot(|channel| {
|
||||
runtime::Action::System(Action::QueryInformation(channel))
|
||||
})
|
||||
}
|
||||
|
||||
pub(crate) fn information(
|
||||
graphics_info: compositor::Information,
|
||||
) -> Information {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue