From 7b47e3fd55f604e7bf784158878bf051f021df80 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Wed, 17 Jul 2013 10:26:52 -0500 Subject: [PATCH] Adding a bottom-half slate key trigger --- slate.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/slate.js b/slate.js index 2461360..2dec1a5 100644 --- a/slate.js +++ b/slate.js @@ -23,6 +23,11 @@ var pushUpHalf = slate.operation("push", { "style" : "bar-resize:screenSizeY/2" }); +var pushDownHalf = slate.operation("push", { + "direction" : "down", + "style" : "bar-resize:screenSizeY/2" +}); + var pushFull = slate.operation("push", { "direction" : "up", "style" : "bar-resize:screenSizeX" @@ -34,4 +39,5 @@ slate.bind("right:ctrl,alt,cmd", pushRightHalf); slate.bind("right:ctrl,alt,cmd,shift", pushRightThird); slate.bind("up:ctrl,alt,cmd", pushUpHalf); +slate.bind("down:ctrl,alt,cmd", pushDownHalf); slate.bind("up:shift,ctrl,alt,cmd", pushFull);