From 1a2c64f172eaf2e01c76e893b3172fc59f226acb Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 15 Sep 2017 11:57:10 -0400 Subject: Supports multi-monitor movement --- configs/os_x/.slate.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configs') 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 -- cgit 1.4.1