about summary refs log tree commit diff
path: root/src/main.rs
blob: 18613be40ef5887d01ac90ae3bee6e2667cb1d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod notd;
mod ui;

use adw::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()
}