Supports multi-monitor movement

This commit is contained in:
William Carroll 2017-09-15 11:57:10 -04:00
parent ed9c2cae0c
commit 1a2c64f172

View file

@ -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