aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-06-15 20:32:47 +0200
committerTeddy Wing2019-06-15 20:31:44 +0200
commitdf632619c45b8a4dcb4a29ee0777c1e29cc9e113 (patch)
tree3c3561a125b53ceea39c8f9e4c2145e6410b4b76
parent9abc2e23458b352f01a463329d7cee194463d8e3 (diff)
downloaddothammerspoon-df632619c45b8a4dcb4a29ee0777c1e29cc9e113.tar.bz2
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.
-rw-r--r--window.lua4
1 files 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)