summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-09-16 09:06:28 +0200
committerAlan Pearce2016-09-16 09:06:28 +0200
commitc90a72740bffa5cd8ac24c01a795fa3e61207d8b (patch)
treeedbd1023174a55dcd5a8f0bd25a72260c06ad088
parent5b7f449ecde3146e237d698ba02ecef28ab8adcf (diff)
downloadnixfiles-c90a72740bffa5cd8ac24c01a795fa3e61207d8b.tar.lz
nixfiles-c90a72740bffa5cd8ac24c01a795fa3e61207d8b.tar.zst
nixfiles-c90a72740bffa5cd8ac24c01a795fa3e61207d8b.zip
Add slate file
-rw-r--r--host-ap-spotcap.local/slate55
1 files changed, 55 insertions, 0 deletions
diff --git a/host-ap-spotcap.local/slate b/host-ap-spotcap.local/slate
new file mode 100644
index 00000000..05a50858
--- /dev/null
+++ b/host-ap-spotcap.local/slate
@@ -0,0 +1,55 @@
+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
+
+layout workLayout "Safari":REPEAT ${1-left}
+layout workLayout "Emacs"         ${1-right}
+layout workLayout "Terminal"      ${2-left}
+layout workLayout "HipChat"       ${2-right}
+
+layout portable "Emacs" ${1-full}
+
+default workLayout	resolutions:${mon-laptop};${mon-work}
+default portable	resolutions:${mon-laptop}
+
+# 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    focus right
+bind left:cmd     focus left
+bind up:cmd       focus up
+bind down:cmd     focus down
+bind up:cmd;shift   focus behind
+bind down:cmd;shift focus behind
+
+# Window Hints
+bind esc:cmd hint setnriao