diff options
author | Teddy Wing | 2019-06-17 04:53:46 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-17 04:53:46 +0200 |
commit | b28d76115d7ef315821f5d9cce67e8275cdfa169 (patch) | |
tree | 9b7c7fa7b4be9a68f57cfb2cf8f7635095fce474 /init.lua | |
parent | 5e4f0e14fd6eff2665d6551f515d6296e100bbfb (diff) | |
download | dothammerspoon-b28d76115d7ef315821f5d9cce67e8275cdfa169.tar.bz2 |
Extract `window.lua` to `WindowMode.spoon`
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,9 +17,11 @@ -- Enable command line tool (http://www.hammerspoon.org/docs/hs.ipc.html) require("hs.ipc") -require('window') require('mouse') +hs.loadSpoon('WindowMode') +spoon.WindowMode:bindHotkeys({ mode = {{'ctrl', 'option'}, 'w'} }) + -- Shortcuts to focus tabs in Terminal terminal_app = hs.application.applicationsForBundleID('com.apple.Terminal')[1] |