improve wayvnc integration

This commit is contained in:
shibao 2024-03-22 16:21:29 -04:00
parent def626a207
commit 91ed57b89f
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ BindsTo=sway-session.target
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/wayvnc ExecStart=/usr/bin/wayvnc
Environment="WAYLAND_DISPLAY=wayland-1"
Restart=on-failure Restart=on-failure
RestartSec=1 RestartSec=1
TimeoutStopSec=10 TimeoutStopSec=10

View File

@ -227,6 +227,9 @@ bindsym $mod+Shift+d border toggle
bindsym $mod+m exec makoctl dismiss bindsym $mod+m exec makoctl dismiss
bindsym $mod+n exec makoctl restore bindsym $mod+n exec makoctl restore
# wayvnc
bindsym $mod+Shift+p exec wayvncctl output-cycle
### styles ### styles
# class border backgr text # class border backgr text