dotfiles/etc/systemd/user/wayvnc.service

15 lines
277 B
Desktop File

[Unit]
Description=A VNC server for wlroots based Wayland compositors
BindsTo=sway-session.target
[Service]
Type=simple
ExecStart=/usr/bin/wayvnc
Environment="WAYLAND_DISPLAY=wayland-1"
Restart=on-failure
RestartSec=1
TimeoutStopSec=10
[Install]
WantedBy=sway-session.target