add wayvnc and sway-session.target

This commit is contained in:
shibao 2023-05-05 08:05:24 -04:00
parent 462ff99b9a
commit 16343fc8cb
4 changed files with 21 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

@ -0,0 +1,2 @@
address=localhost
enable_auth=false

View File

@ -181,6 +181,7 @@ libretro-overlays
libretro-shaders-slang libretro-shaders-slang
libva-mesa-driver libva-mesa-driver
libva-utils libva-utils
libvncserver
libxkbcommon libxkbcommon
licenses licenses
linux-firmware linux-firmware
@ -281,6 +282,7 @@ quodlibet
ranger ranger
rar rar
realtime-privileges realtime-privileges
remmina
retroarch retroarch
retroarch-assets-xmb retroarch-assets-xmb
rofi rofi
@ -356,6 +358,7 @@ w3m
wakeonlan wakeonlan
waybar waybar
wayland-utils wayland-utils
wayvnc
wd719x-firmware wd719x-firmware
wdisplays wdisplays
wf-recorder wf-recorder