From 14cd2d930b1d296b1b881dc2dc911239ea26a1f0 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Thu, 31 Oct 2024 18:38:38 -0400 Subject: [PATCH] core: layout: add switch_greekmath key --- src/core/layout.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/layout.rs b/src/core/layout.rs index 1a9b2e1..2dd2506 100644 --- a/src/core/layout.rs +++ b/src/core/layout.rs @@ -443,7 +443,7 @@ impl Key { } } -const KEYSYMS: [(&str, Keysym, &str); 23] = [ +const KEYSYMS: [(&str, Keysym, &str); 24] = [ ("\\#", Keysym::numbersign, "#"), ("\\?", Keysym::question, "?"), ("\\@", Keysym::at, "@"), @@ -463,6 +463,7 @@ const KEYSYMS: [(&str, Keysym, &str); 23] = [ ("right", Keysym::Right, "→"), ("shift", Keysym::Shift_L, "⇧"), ("space", Keysym::space, " "), + ("switch_greekmath", Keysym::Scroll_Lock, "πλ∇¬"), ("switch_numeric", Keysym::Num_Lock, "123+"), ("switch_text", Keysym::Caps_Lock, "ABC"), ("tab", Keysym::Tab, "⭾"),