summaryrefslogtreecommitdiff
path: root/contrib/split.sh
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-21 10:01:45 +0000
committersabetts <sabetts>2001-09-21 10:01:45 +0000
commit79decad745173b551009a3edc453179bba3dd8fe (patch)
treea30cff0a3177afcc0c168853cc90831c8c798d78 /contrib/split.sh
parent641dbc7950da74754365da4173e712db2024522f (diff)
downloadratpoison-79decad745173b551009a3edc453179bba3dd8fe.zip
initial revision
Diffstat (limited to 'contrib/split.sh')
-rwxr-xr-xcontrib/split.sh45
1 files changed, 45 insertions, 0 deletions
diff --git a/contrib/split.sh b/contrib/split.sh
new file mode 100755
index 0000000..7fd0eb8
--- /dev/null
+++ b/contrib/split.sh
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+# Split the current frame into 16 little frames. This is an example of
+# how to script ratpoison.
+
+RATPOISON=ratpoison
+
+# $RATPOISON -c only
+
+#split into 4 frames
+
+$RATPOISON -c split
+$RATPOISON -c vsplit
+$RATPOISON -c focusdown
+$RATPOISON -c vsplit
+
+# split each new frame into 4
+
+$RATPOISON -c split
+$RATPOISON -c vsplit
+$RATPOISON -c focusdown
+$RATPOISON -c vsplit
+
+$RATPOISON -c focusup
+$RATPOISON -c focusup
+
+$RATPOISON -c split
+$RATPOISON -c vsplit
+$RATPOISON -c focusdown
+$RATPOISON -c vsplit
+
+$RATPOISON -c focusright
+$RATPOISON -c focusright
+
+$RATPOISON -c split
+$RATPOISON -c vsplit
+$RATPOISON -c focusdown
+$RATPOISON -c vsplit
+
+$RATPOISON -c focusdown
+
+$RATPOISON -c split
+$RATPOISON -c vsplit
+$RATPOISON -c focusdown
+$RATPOISON -c vsplit