summary refs log tree commit diff stats
path: root/slate
diff options
context:
space:
mode:
authorAlan Pearce2017-03-24 21:22:27 +0100
committerAlan Pearce2017-03-24 21:22:27 +0100
commitbbb26322199d41171595bff6d073bda1fa1fa62c (patch)
tree799f160f60327a1b026fd9f4065636e611ccafb0 /slate
parent0c4343e413bbc922954b417a639c60dfa007a0da (diff)
parent53f50286e177abb9d1ac4a7c239dcbcc3fed63b7 (diff)
downloaddotfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.lz
dotfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.zst
dotfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'slate')
-rw-r--r--slate/.slate45
1 files changed, 45 insertions, 0 deletions
diff --git a/slate/.slate b/slate/.slate
new file mode 100644
index 0000000..e8c675d
--- /dev/null
+++ b/slate/.slate
@@ -0,0 +1,45 @@
+config keyboardLayout colemak
+
+config defaultToCurrentScreen true
+config nudgePercentOf screenSize
+config resizePercentOf screenSize
+
+config windowHintsSpread true
+
+alias mon-laptop 1680x1050
+alias mon-work   1920x1200
+alias mon-home   2560x1440
+
+alias 1-full   throw 0 resize
+alias 1-left   push left  bar-resize:screenSizeX/2 0
+alias 1-right  push right bar-resize:screenSizeX/2 0
+alias 2-left   push left  bar-resize:screenSizeX/2 1
+alias 2-right  push right bar-resize:screenSizeX/2 1
+
+# Push Bindings
+bind right:alt;cmd  push right bar-resize:screenSizeX/2
+bind left:alt;cmd   push left  bar-resize:screenSizeX/2
+bind up:alt;cmd     push up    bar-resize:screenSizeY/2
+bind down:alt;cmd   push down  bar-resize:screenSizeY/2
+
+# Throw Bindings
+bind 1:ctrl;alt         throw 0 resize
+bind 2:ctrl;alt         throw 1 resize
+bind 3:ctrl;alt         throw 2 resize
+bind right:ctrl;alt;cmd throw right resize
+bind left:ctrl;alt;cmd  throw left  resize
+bind up:ctrl;alt;cmd    throw up    resize
+bind down:ctrl;alt;cmd  throw down  resize
+
+bind f:cmd;shift  move screenOriginX;screenOriginY screenSizeX;screenSizeY
+
+# Focus Bindings
+bind right:cmd;shift    focus right
+bind left:cmd;shift     focus left
+# bind up:cmd;shift       focus up
+# bind down:cmd;shift     focus down
+bind up:cmd;shift   focus behind
+bind down:cmd;shift focus behind
+
+# Window Hints
+bind esc:cmd hint setnriao