summaryrefslogtreecommitdiff
path: root/contrib/split.sh
blob: 7fd0eb8e5b3eb7b5d5c97509fec6255553c45a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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