executable_obs-wrapper 331 B

1234567891011121314
  1. #!/bin/sh
  2. echo pactl load-module module-null-sink media.class=Audio/Sink sink_name=obs-microphone channel_map=front-left,front-right
  3. echo sudo modprobe v4l2loopback
  4. if [[ -e /dev/dri/renderD128 ]]
  5. then
  6. :
  7. else
  8. sudo ln -s /dev/dri/renderD129 /dev/dri/renderD128
  9. fi
  10. QT_QPA_PLATFORM=xcb exec "${HOME}/.guix-profile/bin/obs"