aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-12-20 00:36:11 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-12-20 00:36:11 +0300
commit16971f5221dfa1b8154b9537432985ad2d43b659 (patch)
tree48121d70aba36266c78aad867fe74f56f12be11e /dotfiles/.local
parentbf4229998a0f02b2ead99091e465b8314835e710 (diff)
downloadswayrice-16971f5221dfa1b8154b9537432985ad2d43b659.tar.gz
swayrice-16971f5221dfa1b8154b9537432985ad2d43b659.zip
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.
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-xdotfiles/.local/bin/swayrecord2
1 files changed, 1 insertions, 1 deletions
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