From b00dc3b206047a72265cc7f491fb34cc60c59ba0 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Mon, 18 Mar 2013 13:06:48 -0500 Subject: [PATCH] Adding slate config file. --- slate.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 slate.js diff --git a/slate.js b/slate.js new file mode 100644 index 0000000..0c09297 --- /dev/null +++ b/slate.js @@ -0,0 +1,24 @@ +var pushLeftHalf = slate.operation("push", { + "direction" : "left", + "style" : "bar-resize:screenSizeX/2" +}); + +var pushLeftThird = slate.operation("push", { + "direction" : "left", + "style" : "bar-resize:screenSizeX/3" +}); + +var pushRightHalf = slate.operation("push", { + "direction" : "right", + "style" : "bar-resize:screenSizeX/2" +}); + +var pushRightThird = slate.operation("push", { + "direction" : "right", + "style" : "bar-resize:screenSizeX/3" +}); + +slate.bind("left:ctrl,alt,cmd", pushLeftHalf); +slate.bind("left:ctrl,alt,cmd,shift", pushLeftThird); +slate.bind("right:ctrl,alt,cmd", pushRightHalf); +slate.bind("right:ctrl,alt,cmd,shift", pushRightThird);