keep working on cli shortcuts, unify visibility management

This commit is contained in:
jfmonty2 committed 2023-09-21 10:44:35 -07:00
1 parent 47a3e1cfef
commit 4b06dce7f4
10 files changed
+190 -92

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@ use crate::{
ipc,
server::Server,
errors::*,
shortcuts,
state::AppState,
tray,
};
@@ -99,7 +100,7 @@ async fn setup(app: &mut App) -> Result<(), Box<dyn Error>> {
if let Err(_e) = config::set_auto_launch(conf.start_on_login) {
setup_errors.push("Error: Failed to manage autolaunch.".into());
}
if let Err(e) = config::register_hotkeys(&conf.hotkeys) {
if let Err(e) = shortcuts::register_hotkeys(&conf.hotkeys) {
setup_errors.push(format!("{e}"));
}