Skip to main content
ShareClick reads a single config.toml. The settings window writes it for you, but you can edit it by hand. Create one with:

Where it lives

Top-level fields

The psk is stored in plaintext in the config file. Pick a long, random passphrase, keep it identical on both machines, and never commit it. Protect the file with normal OS file permissions. See Security.

The monitor manager ([[machines]])

The [[machines]] array is the layout: each machine lists which peer sits on each edge (left / right / top / bottom). When auto_edge_switch is on, pushing the cursor into a bordered edge hands control to that neighbour.
Screen sizes are auto-detected — this machine’s from the OS, and the other’s is reported automatically the first time it connects. Add screen = [w, h] under a machine only to override a wrong auto-detection.

Full example

New config fields ship with #[serde(default)], so older config files keep loading after an upgrade. See the Releasing versioning policy.

Next

File transfer

Send files between machines.

Troubleshooting

Layout not switching? Auth failing? Fixes here.