diff options
author | William Carroll <wpcarro@gmail.com> | 2017-09-15T15·57-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2017-09-15T15·59-0400 |
commit | 1a2c64f172eaf2e01c76e893b3172fc59f226acb (patch) | |
tree | eb0f9b8f1f0935dc89721a7e4010448121b163ae | |
parent | ed9c2cae0ca28bc2e8d64514f701cf00cf4035ec (diff) |
Supports multi-monitor movement
-rw-r--r-- | configs/os_x/.slate.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/os_x/.slate.js b/configs/os_x/.slate.js index 0abbf7898e90..06740668a3b5 100644 --- a/configs/os_x/.slate.js +++ b/configs/os_x/.slate.js @@ -36,8 +36,11 @@ S.bnda({ // Moves applications across multiple screens -// S.bnda('1:ctrl,alt', S.op('throw', { screen: '0', style: 'resize' }); -// S.bnda('2:ctrl,alt', S.op('throw', { screen: '1', style: 'resize' }); +var throwLeft = slate.operation('throw', {screen: '0', width: 'screenSizeX', height: 'screenSizeY',}); +var throwRight = slate.operation('throw', {screen: '1', width: 'screenSizeX', height: 'screenSizeY',}); + +slate.bind('1:ctrl', throwLeft); +slate.bind('2:ctrl', throwRight); // Binds modal key + {char} to focus different open apps |