summaryrefslogtreecommitdiffstats
path: root/doc/barrier.conf.example-basic
diff options
context:
space:
mode:
Diffstat (limited to 'doc/barrier.conf.example-basic')
-rw-r--r--doc/barrier.conf.example-basic39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/barrier.conf.example-basic b/doc/barrier.conf.example-basic
new file mode 100644
index 0000000..39ff6d6
--- /dev/null
+++ b/doc/barrier.conf.example-basic
@@ -0,0 +1,39 @@
+# sample barrier configuration file
+#
+# comments begin with the # character and continue to the end of
+# line. comments may appear anywhere the syntax permits.
+# +-------+ +--------+ +---------+
+# |Laptop | |Desktop1| |iMac |
+# | | | | | |
+# +-------+ +--------+ +---------+
+
+section: screens
+ # three hosts named: Laptop, Desktop1, and iMac
+ # These are the nice names of the hosts to make it easy to write the config file
+ # The aliases section below contain the "actual" names of the hosts (their hostnames)
+ Laptop:
+ Desktop1:
+ iMac:
+end
+
+section: links
+ # iMac is to the right of Desktop1
+ # Laptop is to the left of Desktop1
+ Desktop1:
+ right = iMac
+ left = Laptop
+
+ # Desktop1 is to the right of Laptop
+ Laptop:
+ right = Desktop1
+
+ # Desktop1 is to the left of iMac
+ iMac:
+ left = Desktop1
+end
+
+section: aliases
+ # The "real" name of iMac is John-Smiths-iMac-3.local. If we wanted we could remove this alias and instead use John-Smiths-iMac-3.local everywhere iMac is above. Hopefully it should be easy to see why using an alias is nicer
+ iMac:
+ John-Smiths-iMac-3.local
+end