Skip to content

Instantly share code, notes, and snippets.

@karlwilbur
Last active June 8, 2021 15:54
Show Gist options
  • Save karlwilbur/8e915218eef8b7bf7e5a584cd3bbd95b to your computer and use it in GitHub Desktop.
Save karlwilbur/8e915218eef8b7bf7e5a584cd3bbd95b to your computer and use it in GitHub Desktop.
Karl's K&R Desktop+ Barrier (Synergy) Configuration
# `~/.barrier.conf`
#
# Configuration for [Barrier](https://github.com/debauchee/barrier) server
#
# Physical arrangement, with machine names as used by Barrier (Synergy).
# +---------------+---------------+
# | | |
# | kandr-imac | kandr-nuc |
# | | |
# +---------------+---------------+
# +-------------------+ +---------------+---------------+---------------+ +--------------+
# | | | | | | | |
# | windows-10-laptop | | kandr-desktop | kandr-desktop | kandr-desktop | | kandr-laptop |
# | | | (display 1) | (display 2) | (display 3) | | |
# | | | | | | | |
# +-------------------+ +---------------+---------------+---------------+ +--------------+
#
section: screens
kandr-desktop:
kandr-laptop:
kandr-mac:
kandr-nuc:
windows-10-laptop:
end
section: links
kandr-desktop:
left = windows-10-laptop
up(0,32) = kandr-mac
up(33,66) = kandr-nuc
right = kandr-laptop
kandr-laptop:
left = kandr-desktop
kandr-mac:
down = kandr-desktop(0,33)
right = kandr-nuc
kandr-nuc:
down = kandr-desktop(33,66)
left = kandr-mac
windows-10-laptop:
right = kandr-desktop
end
section: options
# 5 second heartbeats
heartbeat = 5000
# Cursor must rest on the side of the screen for N milliseconds before a switch occurs
switchDelay = 250
# Enable client screensavers when server screensaver activates
screenSaverSync = true
end
section: aliases
# Hopefully it should be easy to see why using an alias.
# If we were to remove this section, we sould have to use
# the `hostname` of the machines in the configuration above.
kandr-desktop:
karl-desktop
karl-desktop.local
karl-desktop.kandrsoft.net
karl-desktop.perceivers.net
kandr-laptop:
karl-S500CA
karl-S500CA.local
karl-S500CA.kandrsoft.net
karl-S500CA.perceivers.net
kandr-mac:
Karls-iMac
Karls-iMac.local
Karls-iMac.kandrsoft.net
Karls-iMac.perceivers.net
kandr-nuc:
nuc-00sk
nuc-00sk.local
nuc-00sk.kandrsoft.net
nuc-00sk.perceivers.net
windows-10-laptop:
DESKTOP-O6ICE4I
DESKTOP-O6ICE4I.local
DESKTOP-O6ICE4I.kandrsoft.net
DESKTOP-O6ICE4I.perceivers.net
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment