Add Ctl Socket, iterate on Idling daemon, update sysinfo crate, start on run menu
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use crate::backend::Backend;
|
||||
mod backend;
|
||||
mod css;
|
||||
mod ctl;
|
||||
mod ui;
|
||||
|
||||
use glib::clone;
|
||||
@@ -29,6 +30,7 @@ fn main() {
|
||||
let backend = Backend::start();
|
||||
|
||||
app.connect_startup(move |_| {
|
||||
debug!(&LOGGER, "Connect startup");
|
||||
let provider = CssProvider::new();
|
||||
if let Some(css) = css::parse_css() {
|
||||
provider.load_from_string(&css);
|
||||
@@ -46,10 +48,12 @@ fn main() {
|
||||
#[strong]
|
||||
backend,
|
||||
move |app| {
|
||||
debug!(&LOGGER, "Connect activate");
|
||||
trace!(&LOGGER, "Starting bars");
|
||||
ui::create_bars(app, backend.clone());
|
||||
}
|
||||
));
|
||||
|
||||
debug!(&LOGGER, "Running app");
|
||||
app.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user