| 1 |
# sample barrier configuration file |
| 2 |
# |
| 3 |
# comments begin with the # character and continue to the end of |
| 4 |
# line. comments may appear anywhere the syntax permits. |
| 5 |
|
| 6 |
# This example uses 3 computers. A laptop and two desktops (one a mac) |
| 7 |
# They are arranged in the following configuration with Desktop1 acting as the server |
| 8 |
# Desktop 2 has 3 screens arranged around desktop1 |
| 9 |
# |
| 10 |
# +--------+ +---------+ |
| 11 |
# |Desktop2| |Desktop2 | |
| 12 |
# | | | | |
| 13 |
# +--------+ +---------+ |
| 14 |
# +-------+ +--------+ +---------+ |
| 15 |
# |Laptop | |Desktop1| |Desktop2 | |
| 16 |
# | | | | | | |
| 17 |
# +-------+ +--------+ +---------+ |
| 18 |
# |
| 19 |
# The laptop comes and goes but that doesn't really affect this configuration |
| 20 |
|
| 21 |
# The screens section is for the logical or short name of the computers |
| 22 |
section: screens |
| 23 |
# three computers that are logically named: desktop1, desktop2, and laptop |
| 24 |
desktop1: |
| 25 |
desktop2: |
| 26 |
laptop: |
| 27 |
end |
| 28 |
|
| 29 |
section: links |
| 30 |
# larry is to the right of moe and curly is above moe |
| 31 |
moe: |
| 32 |
right = larry |
| 33 |
up = curly |
| 34 |
|
| 35 |
# moe is to the left of larry and curly is above larry. |
| 36 |
# note that curly is above both moe and larry and moe |
| 37 |
# and larry have a symmetric connection (they're in |
| 38 |
# opposite directions of each other). |
| 39 |
larry: |
| 40 |
left = moe |
| 41 |
up = curly |
| 42 |
|
| 43 |
# larry is below curly. if you move up from moe and then |
| 44 |
# down, you'll end up on larry. |
| 45 |
curly: |
| 46 |
down = larry |
| 47 |
end |
| 48 |
|
| 49 |
# The aliases section is to map the full names of the computers to their logical names used in the screens section |
| 50 |
# One way to find the actual name of a computer is to run hostname from a command window |
| 51 |
section: aliases |
| 52 |
# Laptop is actually known as John-Smiths-MacBook-3.local |
| 53 |
John-Smiths-MacBook-3.local: |
| 54 |
desktop2 |
| 55 |
end |