summaryrefslogtreecommitdiff
path: root/contrib/split.sh
blob: 16617cf42092d940eabecc5f51c3a634fd63288b (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 hsplit
$RATPOISON -c focusdown
$RATPOISON -c hsplit

# split each new frame into 4

$RATPOISON -c split
$RATPOISON -c hsplit
$RATPOISON -c focusdown
$RATPOISON -c hsplit

$RATPOISON -c focusup
$RATPOISON -c focusup

$RATPOISON -c split
$RATPOISON -c hsplit
$RATPOISON -c focusdown
$RATPOISON -c hsplit

$RATPOISON -c focusright
$RATPOISON -c focusright

$RATPOISON -c split
$RATPOISON -c hsplit
$RATPOISON -c focusdown
$RATPOISON -c hsplit

$RATPOISON -c focusdown

$RATPOISON -c split
$RATPOISON -c hsplit
$RATPOISON -c focusdown
$RATPOISON -c hsplit