From 1a2c64f172eaf2e01c76e893b3172fc59f226acb Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 15 Sep 2017 11:57:10 -0400 Subject: [PATCH] Supports multi-monitor movement --- configs/os_x/.slate.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configs/os_x/.slate.js b/configs/os_x/.slate.js index 0abbf7898..06740668a 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