Merge pull request #607 from andydna/fix-examples-backwards-aliases

reversed aliases: val, key to key, val.  add barebones example
This commit is contained in:
Povilas Kanapickas 2021-01-11 01:40:57 +02:00 committed by GitHub
commit 743515e747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 4 deletions

View File

@ -50,6 +50,6 @@ end
# One way to find the actual name of a comptuer is to run hostname from a command window # One way to find the actual name of a comptuer is to run hostname from a command window
section: aliases section: aliases
# Laptop is actually known as John-Smiths-MacBook-3.local # Laptop is actually known as John-Smiths-MacBook-3.local
desktop2: John-Smiths-MacBook-3.local:
John-Smiths-MacBook-3.local desktop2
end end

View File

@ -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

View File

@ -34,6 +34,6 @@ end
section: aliases 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 # 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 end