diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..18613be --- /dev/null +++ b/src/main.rs @@ -0,0 +1,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() +} |