jcs ratpoison hax
1#!/bin/sh
2#
3# Copyright (C) 2003 Shawn Betts
4#
5# Copying and distribution of this file, with or without modification,
6# are permitted in any medium without royalty provided the copyright
7#
8# Split the current frame into 16 little frames. This is an example of
9# how to script ratpoison.
10
11if [ -z "$RATPOISON" ]; then
12 RATPOISON=ratpoison
13fi
14
15# $RATPOISON -c only
16
17#split into 4 frames
18
19$RATPOISON -c split
20$RATPOISON -c hsplit
21$RATPOISON -c focusdown
22$RATPOISON -c hsplit
23
24# split each new frame into 4
25
26$RATPOISON -c split
27$RATPOISON -c hsplit
28$RATPOISON -c focusdown
29$RATPOISON -c hsplit
30
31$RATPOISON -c focusup
32$RATPOISON -c focusup
33
34$RATPOISON -c split
35$RATPOISON -c hsplit
36$RATPOISON -c focusdown
37$RATPOISON -c hsplit
38
39$RATPOISON -c focusright
40$RATPOISON -c focusright
41
42$RATPOISON -c split
43$RATPOISON -c hsplit
44$RATPOISON -c focusdown
45$RATPOISON -c hsplit
46
47$RATPOISON -c focusdown
48
49$RATPOISON -c split
50$RATPOISON -c hsplit
51$RATPOISON -c focusdown
52$RATPOISON -c hsplit