diff options
-rwxr-xr-x | contrib/split.sh | 45 |
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 |