From a9f4cc1edfe21ee3bc70cd717efc2331ddf848de Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Mon, 27 Dec 2021 18:33:42 +0100 Subject: [PATCH] feat(config): disable toggle_key by default. Fix #916 --- espanso-config/src/config/resolve.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/espanso-config/src/config/resolve.rs b/espanso-config/src/config/resolve.rs index e771beb..548c433 100644 --- a/espanso-config/src/config/resolve.rs +++ b/espanso-config/src/config/resolve.rs @@ -188,13 +188,10 @@ impl Config for ResolvedConfig { Some("left_shift") => Some(ToggleKey::LeftShift), Some("left_meta") | Some("left_cmd") => Some(ToggleKey::LeftMeta), Some("off") => None, - None => Some(ToggleKey::Alt), + None => None, err => { - error!( - "invalid toggle_key specified {:?}, falling back to ALT", - err - ); - Some(ToggleKey::Alt) + error!("invalid toggle_key specified {:?}", err); + None } } }