mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Increase tray icon sleep time
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
||||||
use slint_build::{CompilerConfiguration, EmbedResourcesKind};
|
use slint_build::CompilerConfiguration;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// write_locales();
|
// write_locales();
|
||||||
@@ -18,7 +18,7 @@ fn main() {
|
|||||||
slint_build::compile_with_config(
|
slint_build::compile_with_config(
|
||||||
main,
|
main,
|
||||||
CompilerConfiguration::new()
|
CompilerConfiguration::new()
|
||||||
.embed_resources(EmbedResourcesKind::EmbedFiles)
|
// .embed_resources(EmbedResourcesKind::EmbedFiles)
|
||||||
.with_include_paths(vec![include])
|
.with_include_paths(vec![include])
|
||||||
.with_style("fluent-dark".into()),
|
.with_style("fluent-dark".into()),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ pub fn init_tray(_supported_properties: Vec<Properties>, config: Arc<Mutex<Confi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sleep(Duration::from_millis(500));
|
sleep(Duration::from_millis(1000));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2024-05-05 22:06+0000\n"
|
"POT-Creation-Date: 2024-05-06 11:00+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user