diff --git a/build.rs b/build.rs index bd2ecc1..1bab1b5 100644 --- a/build.rs +++ b/build.rs @@ -55,13 +55,5 @@ fn main() -> Result<(), Box> { .spawn()? .wait()?; - std::env::set_current_dir("api/lua").unwrap(); - Command::new("luarocks") - .arg("make") - .arg("--local") - .spawn() - .expect("Luarocks is not installed") - .wait()?; - Ok(()) } diff --git a/src/config.rs b/src/config.rs index bf10389..4f5e2f5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -279,7 +279,7 @@ impl State { let config_dir_clone = config_dir.as_ref().map(|dir| dir.as_ref().to_path_buf()); let load_default_config = |state: &mut State, reason: &str| { match &config_dir_clone { - Some(dir) => error!("Unable to load config at {}: {reason}", dir.display()), + Some(dir) => warn!("Unable to load config at {}: {reason}", dir.display()), None => panic!( "builtin rust config crashed; this is a bug and you should open an issue" ), @@ -455,7 +455,6 @@ impl State { std::thread::spawn(move || { info!("Starting builtin Rust config"); builtin::run(); - info!("Builtin config exited"); pinger.ping(); }); diff --git a/src/input.rs b/src/input.rs index 6c23231..6916180 100644 --- a/src/input.rs +++ b/src/input.rs @@ -31,6 +31,7 @@ use smithay::{ }, }; use tokio::sync::mpsc::UnboundedSender; +use tracing::info; use xkbcommon::xkb::Keysym; use crate::state::State; @@ -427,6 +428,7 @@ impl State { self.shutdown(); } Some(KeyAction::ReloadConfig) => { + info!("Reloading config"); self.start_config(Some(self.config.dir(&self.xdg_base_dirs))) .expect("failed to restart config"); }