From ee42af44419692096b2be7dd703a22c3a6fd54a3 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 15 Jun 2019 20:32:47 +0200 Subject: window: Remove 'shift' from mode modifiers Reduce the number of modifiers needed to activate the mode. Makes it a bit easier on the fingers. Didn't go with Ctrl-Shift because I thought it might be easier to accidentally activate with Vim window shortcuts. --- window.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/window.lua b/window.lua index 3a43d60..5ba8d24 100644 --- a/window.lua +++ b/window.lua @@ -123,8 +123,8 @@ function window.move_to_top() end -window_mode = hs.hotkey.modal.new({'ctrl', 'option', 'shift'}, 'w', 'Window') -window_mode:bind({'ctrl', 'option', 'shift'}, 'w', 'Window Off', function() +window_mode = hs.hotkey.modal.new({'ctrl', 'option'}, 'w', 'Window') +window_mode:bind({'ctrl', 'option'}, 'w', 'Window Off', function() window_mode:exit() end) -- cgit v1.2.3