From cc2c0f4f68ef0b412e05b942ddb90ef27191403d Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Sun, 6 Feb 2022 19:14:29 +0530 Subject: [PATCH] [update] lower sleep time. --- src/daemon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon.rs b/src/daemon.rs index d9393b6..aff8334 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -88,7 +88,7 @@ pub fn main() { log::debug!("{:#?}", possible_hotkeys); key_states.clear(); possible_hotkeys.clear(); - sleep(Duration::from_millis(200)); // without this, swhkd will start to chew through your cpu. + sleep(Duration::from_millis(10)); // without this, swhkd will start to chew through your cpu. } } pub fn permission_check() {