From 0cc728899029e1db7505e88b9416d4af6f03ced8 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Wed, 26 Feb 2014 16:39:44 -0500 Subject: slate: move windows relative to current screen --- slate | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'slate') diff --git a/slate b/slate index 356684f..79f18db 100644 --- a/slate +++ b/slate @@ -17,9 +17,9 @@ bind pad6:alt push right bar-resize:screenSizeX/2 bind right:alt push right bar-resize:screenSizeX/2 # fullscreen -bind pad5:alt move 0;0 screenSizeX;screenSizeY -bind 0:alt move 0;0 screenSizeX;screenSizeY +bind pad5:alt move screenOriginX;screenOriginY screenSizeX;screenSizeY +bind 0:alt move screenOriginX;screenOriginY screenSizeX;screenSizeY # center -bind pad2:alt move (screenSizeX/2)-((screenSizeX*2)/6);0 (screenSizeX*2)/3;screenSizeY -bind down:alt move (screenSizeX/2)-((screenSizeX*2)/6);0 (screenSizeX*2)/3;screenSizeY +bind pad2:alt move (screenOriginX+(screenSizeX/2)-((screenSizeX*2)/6));screenOriginY (screenSizeX*2)/3;screenSizeY +bind down:alt move (screenOriginX+(screenSizeX/2)-((screenSizeX*2)/6));screenOriginY (screenSizeX*2)/3;screenSizeY -- cgit v1.2.3