Skip to content
Snippets Groups Projects
Commit bc3c4258 authored by Moritz Holtz's avatar Moritz Holtz Committed by Christopher Spinrath
Browse files

screencap-skript is now aware of multiple X Sessions

now $DISPLAY is used instead of :0.0
parent 82c92f40
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,6 @@ else
exit 1
fi
cmd="$prog -f x11grab -s $res -r $FPS -i :0.0$pos -r $FPS $audiocmd $videocmd $file"
cmd="$prog -f x11grab -s $res -r $FPS -i $DISPLAY$pos -r $FPS $audiocmd $videocmd $file"
echo "Command: $cmd"
$cmd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment