blob: 6cd96f33d6c3f9e2855bb99e99a35b847fad34d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
mod notd;
mod ui;
use gtk::Application;
use gtk::glib;
use gtk::prelude::*;
use ui::{build_ui, load_css};
const APP_ID: &str = "com.venomade.notd";
fn main() -> glib::ExitCode {
let app = Application::builder().application_id(APP_ID).build();
app.connect_startup(|_| load_css());
app.connect_activate(build_ui);
app.run()
}
|