From f4235a1741ef7927147d53adae1adf8584fdfe0d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 27 May 2022 23:34:20 -0700 Subject: tweak modifier keys to include 'shift' --- keychord.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keychord.lua b/keychord.lua index 07e34cb..323c028 100644 --- a/keychord.lua +++ b/keychord.lua @@ -17,8 +17,11 @@ function App.combine_modifiers(key) if down('lalt') or down('ralt') then result = result..'M-' end + if down('lshift') or down('rshift') then + result = result..'S-' -- don't try to use this with letters/digits + end if down('lgui') or down('rgui') then - result = result..'S-' + result = result..'s-' end result = result..key return result -- cgit 1.4.1-2-gfad0