Temporary disable sharing individual windows feature

Needs some work for dinamycally adding/removing headles output
This commit is contained in:
Aleksey Samoilov 2025-04-08 11:37:17 +04:00
parent d8e0fa71c2
commit f87305b06d
2 changed files with 13 additions and 13 deletions

View file

@ -8,11 +8,11 @@
# See the following link for more details:
# https://github.com/emersion/xdg-desktop-portal-wlr/issues/107#issuecomment-1596107337
set $screenmirror /usr/share/sway/scripts/screenmirror.sh
set $start_mirror systemd-cat $screenmirror $headless
set $stop_mirror systemd-cat $screenmirror -k
# set $screenmirror /usr/share/sway/scripts/screenmirror.sh
# set $start_mirror systemd-cat $screenmirror $headless
# set $stop_mirror systemd-cat $screenmirror -k
## Launch // Switch to the workspace for mirroring ##
$bindsym $mod+0 exec $start_mirror, workspace $ws10
## Launch // Switch back from the workspace for mirroring ##
$bindsym $mod+Mod1+0 exec $stop_mirror, workspace back_and_forth
# ## Launch // Switch to the workspace for mirroring ##
# $bindsym $mod+0 exec $start_mirror, workspace $ws10
# ## Launch // Switch back from the workspace for mirroring ##
# $bindsym $mod+Mod1+0 exec $stop_mirror, workspace back_and_forth

View file

@ -1,9 +1,9 @@
# This output configuration is required for the screenmirror mode to work.
set $headless HEADLESS-1
#set $headless HEADLESS-1
output $headless {
position 16000 16000
}
workspace $ws10 output $headless
exec swaymsg create_output
#output $headless {
# position 16000 16000
#}
#workspace $ws10 output $headless
#exec swaymsg create_output