diff --git a/src/main.rs b/src/main.rs index 5b931ba..42be323 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,6 +171,8 @@ async fn main() -> Result<()> { } } + mask.set_Two(true); + conn.exchange_request_async(GrabKeyRequest { req_type: 33, owner_events: false, @@ -254,7 +256,7 @@ async fn process_event( if let Some(k) = keyboard_state.process_keycode(ev.detail, ev.state) { if let Some(c) = k.as_char() { for (&bind, action) in &CONFIG.binds { - if bind.key == c && bind.mods.inner == 20 { + if bind.key == c { action.eval(manager, conn).await?; } }