aboutsummaryrefslogtreecommitdiffstats
path: root/window.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-06-15 20:32:47 +0200
committerTeddy Wing2019-06-15 20:31:44 +0200
commitee42af44419692096b2be7dd703a22c3a6fd54a3 (patch)
tree46d12b5888779271c9eee3799a9039847d0debee /window.lua
parent0ec15de711e01b1686bcdb7209bdc8b5af0e4837 (diff)
downloadWindowMode.spoon-ee42af44419692096b2be7dd703a22c3a6fd54a3.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.
Diffstat (limited to 'window.lua')
-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)