From 16971f5221dfa1b8154b9537432985ad2d43b659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 20 Dec 2022 00:36:11 +0300 Subject: sway session improvements * Fix screen sharing * Config for xdpw * Better way of launching sway and dbus * Terminate all user processes on logout; this is to login to a clean session on after logout, can be worked around. --- dotfiles/.local/bin/swayrecord | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local/bin/swayrecord') diff --git a/dotfiles/.local/bin/swayrecord b/dotfiles/.local/bin/swayrecord index b4e2aa6..3d16e07 100755 --- a/dotfiles/.local/bin/swayrecord +++ b/dotfiles/.local/bin/swayrecord @@ -81,7 +81,7 @@ screenshare () { loopbackcam="$(v4l2-ctl --list-devices | \ grep v4l2loopback -m1 -A1 | \ sed -e '1d' -e 's/\s//g')" - wf-recorder -o "$MONITOR" -x yuv420p -c rawvideo -m v4l2 -f $loopbackcam & + wf-recorder -o "$MONITOR" -c rawvideo -m v4l2 -f $loopbackcam -x yuv420p -t & VIDEO_PID=$! echo $$ > ~/.cache/recordingpid echo "📺" > ~/.cache/recordingicon -- cgit v1.2.3