2018-01-28 00:48:17 +03:00
|
|
|
# sample barrier configuration file
|
2012-06-10 20:50:54 +04:00
|
|
|
#
|
|
|
|
# comments begin with the # character and continue to the end of
|
|
|
|
# line. comments may appear anywhere the syntax permits.
|
|
|
|
|
|
|
|
# This example uses 3 computers. A laptop and two desktops (one a mac)
|
|
|
|
# They are arranged in the following configuration with Desktop1 acting as the server
|
|
|
|
# Desktop 2 has 3 screens arranged around desktop1
|
|
|
|
#
|
|
|
|
# +--------+ +---------+
|
|
|
|
# |Desktop2| |Desktop2 |
|
|
|
|
# | | | |
|
|
|
|
# +--------+ +---------+
|
|
|
|
# +-------+ +--------+ +---------+
|
|
|
|
# |Laptop | |Desktop1| |Desktop2 |
|
|
|
|
# | | | | | |
|
|
|
|
# +-------+ +--------+ +---------+
|
|
|
|
#
|
|
|
|
# The laptop comes and goes but that doesn't really affect this configuration
|
|
|
|
|
|
|
|
# The screens section is for the logical or short name of the computers
|
|
|
|
section: screens
|
|
|
|
# three computers that are logically named: desktop1, desktop2, and laptop
|
|
|
|
desktop1:
|
|
|
|
desktop2:
|
|
|
|
laptop:
|
|
|
|
end
|
|
|
|
|
|
|
|
section: links
|
|
|
|
# larry is to the right of moe and curly is above moe
|
|
|
|
moe:
|
|
|
|
right = larry
|
|
|
|
up = curly
|
|
|
|
|
|
|
|
# moe is to the left of larry and curly is above larry.
|
|
|
|
# note that curly is above both moe and larry and moe
|
|
|
|
# and larry have a symmetric connection (they're in
|
|
|
|
# opposite directions of each other).
|
|
|
|
larry:
|
|
|
|
left = moe
|
|
|
|
up = curly
|
|
|
|
|
|
|
|
# larry is below curly. if you move up from moe and then
|
|
|
|
# down, you'll end up on larry.
|
|
|
|
curly:
|
|
|
|
down = larry
|
|
|
|
end
|
|
|
|
|
|
|
|
# The aliases section is to map the full names of the computers to their logical names used in the screens section
|
2021-09-22 23:43:29 +03:00
|
|
|
# One way to find the actual name of a computer is to run hostname from a command window
|
2012-06-10 20:50:54 +04:00
|
|
|
section: aliases
|
|
|
|
# Laptop is actually known as John-Smiths-MacBook-3.local
|
2020-04-02 02:36:18 +03:00
|
|
|
John-Smiths-MacBook-3.local:
|
|
|
|
desktop2
|
2012-06-10 20:50:54 +04:00
|
|
|
end
|