aboutsummaryrefslogtreecommitdiff
path: root/slate
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2014-02-26 16:39:44 -0500
committerMatt Singleton <matt@xcolour.net>2014-02-26 16:39:44 -0500
commit0cc728899029e1db7505e88b9416d4af6f03ced8 (patch)
tree6c83943b5051f07585a22f2e584d4dae2e6a5f98 /slate
parent25195b1a83fd9cb7e3db8aaa61225b67db2c9083 (diff)
slate: move windows relative to current screen
Diffstat (limited to 'slate')
-rw-r--r--slate8
1 files changed, 4 insertions, 4 deletions
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