summaryrefslogtreecommitdiff
path: root/contrib/split.sh
blob: 8de92bfc6e3b4de4f8103b98b3de4f650f44ab20 (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
46
47
48
49
50
#!/bin/sh
#
# Copyright (C) 2003 Shawn Betts
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
#
# 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