diff --git a/src/config/keys.rs b/src/config/keys.rs index 894d861..753f4d1 100644 --- a/src/config/keys.rs +++ b/src/config/keys.rs @@ -79,6 +79,9 @@ pub fn key_to_string(modifiers: KMod, key: KCode) -> String { if modifiers.contains(KMod::SHIFT) { result += "shift_"; } + if modifiers.contains(KMod::SUPER) { + result += "super_"; + } result += &match key { KCode::Char('\\') => "\\\\".to_string(), KCode::Char('"') => "\\\"".to_string(),