diff options
| author | Malte Voos <git@mal.tc> | 2025-11-22 22:50:57 +0100 |
|---|---|---|
| committer | Malte Voos <git@mal.tc> | 2025-11-22 22:50:57 +0100 |
| commit | 652b1c2a0ce7db4885ebc51f7f09133a43401442 (patch) | |
| tree | f8ee000f99b24261cb7a5cf896a57e5399b06ab7 /src/main.rs | |
| parent | bdff08776bebe55ac124172d506d6cf08f75bd88 (diff) | |
| download | lleap-652b1c2a0ce7db4885ebc51f7f09133a43401442.tar.gz lleap-652b1c2a0ce7db4885ebc51f7f09133a43401442.zip | |
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 01ca56d..f010c6a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,11 @@ use relm4::RelmApp; use crate::app::App; +mod icon_names { + pub use shipped::*; + include!(concat!(env!("OUT_DIR"), "/icon_names.rs")); +} + fn main() { env_logger::init(); @@ -41,6 +46,8 @@ fn main() { STYLE_PROVIDER_PRIORITY_APPLICATION, ); + relm4_icons::initialize_icons(icon_names::GRESOURCE_BYTES, icon_names::RESOURCE_PREFIX); + relm4::RELM_THREADS.set(4).unwrap(); let relm = RelmApp::new("tc.mal.lleap").with_args(vec![]); |