From 91c7763aabf47217c6ec5587b0aae23fdaa6ecaa Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 10 Aug 2023 18:14:11 +0400 Subject: Add hardcoded us,ru layout and Super+Space switch --- src/input.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input.rs') diff --git a/src/input.rs b/src/input.rs index 6d8a6f2b..f3627618 100644 --- a/src/input.rs +++ b/src/input.rs @@ -41,6 +41,8 @@ impl Niri { time, |_, mods, keysym| { if event.state() == KeyState::Pressed { + // FIXME: these don't work in the Russian layout. I guess I'll need to + // find a US keymap, then map keys somehow. match keysym.modified_sym() { keysyms::KEY_E if mods.logo => { FilterResult::Intercept(InputAction::Quit) -- cgit