add wayvnc and sway-session.target

This commit is contained in:
shibao 2023-05-05 08:05:24 -04:00
parent 462ff99b9a
commit 3ed8801141
3 changed files with 17 additions and 0 deletions

View File

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

View File

@ -264,4 +264,7 @@ input "1386:770:Wacom_Intuos_PT_S_Pad" {
dwt enable dwt enable
} }
# sway-session.target
exec_always systemctl --user start sway-session.target
include /etc/sway/config.d/* include /etc/sway/config.d/*

View File

@ -356,6 +356,7 @@ w3m
wakeonlan wakeonlan
waybar waybar
wayland-utils wayland-utils
wayvnc
wd719x-firmware wd719x-firmware
wdisplays wdisplays
wf-recorder wf-recorder