[update] lower sleep time.

main
Shinyzenith 2 years ago
parent 25987beba6
commit cc2c0f4f68
No known key found for this signature in database
GPG Key ID: A3DFCDC66E9E2950

@ -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() {

Loading…
Cancel
Save