Created
November 22, 2022 09:05
-
-
Save kazqvaizer/321740b861c09f5af8568f2522710695 to your computer and use it in GitHub Desktop.
Launch all necessary for screen cast with yourself
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mplayer -ontop -noborder -geometry 300x300+80+750 -vf mirror,crop=240:240:30:0 -vo gl2 -msglevel all=0 -tv width=300:height=300:device=/dev/video0 tv:// & | |
simplescreenrecorder --start-hidden &>/dev/null & | |
sleep 3 | |
wmctrl -r MPlayer -b add,sticky | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment