diff options
author | Teddy Wing | 2019-06-15 20:32:47 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-15 20:31:44 +0200 |
commit | df632619c45b8a4dcb4a29ee0777c1e29cc9e113 (patch) | |
tree | 3c3561a125b53ceea39c8f9e4c2145e6410b4b76 | |
parent | 9abc2e23458b352f01a463329d7cee194463d8e3 (diff) | |
download | dothammerspoon-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.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |