aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh2
-rw-r--r--slate25
2 files changed, 26 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index f26d69e..b66b0d6 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -6,7 +6,7 @@ rm -rf dotfiles-backup
mkdir -p dotfiles-backup
# deploy
-for f in vimrc gvimrc gitconfig gitignore zshrc zsh vim dircolors.conf
+for f in vimrc gvimrc gitconfig gitignore zshrc zsh vim dircolors.conf slate
do
if [ -e ~/.${f} ]; then
mv ~/.${f} dotfiles-backup/${f}
diff --git a/slate b/slate
new file mode 100644
index 0000000..356684f
--- /dev/null
+++ b/slate
@@ -0,0 +1,25 @@
+config defaultToCurrentScreen true
+config nudgePercentOf screenSize
+config resizePercentOf screenSize
+
+bind r:alt relaunch
+
+# corners
+bind pad1:alt corner bottom-left resize:screenSizeX/2;screenSizeY/2
+bind pad7:alt corner top-left resize:screenSizeX/2;screenSizeY/2
+bind pad9:alt corner top-right resize:screenSizeX/2;screenSizeY/2
+bind pad3:alt corner bottom-right resize:screenSizeX/2;screenSizeY/2
+
+# sides
+bind pad4:alt push left bar-resize:screenSizeX/2
+bind left:alt push left bar-resize:screenSizeX/2
+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
+
+# 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