From d51ad9eeefe262885ec80caf50f76e522b189274 Mon Sep 17 00:00:00 2001 From: andydna Date: Wed, 1 Apr 2020 18:36:18 -0500 Subject: [PATCH] fixed reversed aliases value, key to key, value. added barebones example config --- doc/barrier.conf.example-advanced | 4 ++-- doc/barrier.conf.example-barebones | 17 +++++++++++++++++ doc/barrier.conf.example-basic | 4 ++-- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 doc/barrier.conf.example-barebones diff --git a/doc/barrier.conf.example-advanced b/doc/barrier.conf.example-advanced index ad9df29f..b3d6ad69 100644 --- a/doc/barrier.conf.example-advanced +++ b/doc/barrier.conf.example-advanced @@ -50,6 +50,6 @@ end # One way to find the actual name of a comptuer is to run hostname from a command window section: aliases # Laptop is actually known as John-Smiths-MacBook-3.local - desktop2: - John-Smiths-MacBook-3.local + John-Smiths-MacBook-3.local: + desktop2 end diff --git a/doc/barrier.conf.example-barebones b/doc/barrier.conf.example-barebones new file mode 100644 index 00000000..1a4558d3 --- /dev/null +++ b/doc/barrier.conf.example-barebones @@ -0,0 +1,17 @@ +# barebones barrier.conf example +# for two computers side by side +# replace screen.name.server and screen.name.client with your screen names from gui +# there's a 50/50 chance you'll want to swap left and right +# save this as barrier.conf in your home folder and "Use existing configuration" on server + +section: screens + screen.name.server: + screen.name.client: +end + +section: links + screen.name.server: + left = screen.name.client + screen.name.client: + right = screen.name.server +end diff --git a/doc/barrier.conf.example-basic b/doc/barrier.conf.example-basic index 39ff6d63..57d71d92 100644 --- a/doc/barrier.conf.example-basic +++ b/doc/barrier.conf.example-basic @@ -34,6 +34,6 @@ 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 + John-Smiths-iMac-3.local: + iMac end