Share your Hyprland desktop with a Mac, using the Screen Sharing app it already has. wayshare speaks Apple's Screen Sharing protocol, so there's nothing to install on the Mac.
- The Mac's ⌘ key sends Super, so your Hyprland and Omarchy shortcuts work as usual.
- Copy and paste text, rich text and images in both directions.
- Screen Sharing's High Performance mode works, for sharp, low-latency video and sound.
Needs Hyprland 0.56 or newer and systemd.
curl -fsSL https://raw.githubusercontent.com/wesleygrimes/wayshare/main/install.sh | shThis puts wayshare in ~/.local/bin and sets up its systemd user service, without sudo.
Builds are for x86_64 and ARM64.
Other ways to install:
- With mise:
mise use -g github:wesleygrimes/wayshare, thenwayshare install-service - From source
wayshare isn't on the AUR or in omarchy pkg yet. Those packages are coming soon.
-
Pick a password. Screen Sharing asks for this user name and password when you connect.
wayshare set-password --user "$USER" -
Tell wayshare which monitor to share.
hyprctl monitorslists them; replaceDP-1with yours.mkdir -p ~/.config/wayshare echo 'output = "DP-1"' > ~/.config/wayshare/config.toml
-
Start it with your session:
systemctl --user enable --now wayshareOn Omarchy that's all. Elsewhere, if wayshare doesn't come back after you log in again, add one line to
hyprland.conf. -
On the Mac, open the Screen Sharing app (search for it with Spotlight), choose Connection > New and enter the Linux machine's address, like
192.168.1.20. Sign in with the password from step 1. To get sharper, low-latency video and sound, pick High Performance when it asks (see High Performance mode).The machine also shows up in Finder's sidebar under Network.
Connection trouble? See Troubleshooting.
Run the install command again. It restarts the service for you.
With mise or a package, upgrade the usual way, then restart the service:
systemctl --user restart waysharesystemctl --user disable --now wayshare
rm -f ~/.local/bin/wayshare ~/.local/share/systemd/user/wayshare.serviceIf you installed with mise or a package, remove it that way too. Your password and settings
stay in your config directory (usually ~/.config/wayshare) until you delete it.
- Configuration: every setting, keyboard mapping, the sidebar name
- High Performance mode: what it needs, encoders, audio
- Firewall: which ports to open
- Troubleshooting: logs and the usual problems
- Packaging: install layout and dependencies, for distro packagers
- Development: building, tests, live checks
Thanks to these people (emoji key):
Wes Grimes 💻 📖 🚧 |
Andre Alves 🐛 🤔 |
This project follows the all-contributors specification. To contribute, see CONTRIBUTING.md.
wayshare is free. If it's useful, you can sponsor the work or buy me a coffee.
Apache-2.0. See LICENSE.
