Commit bc3c4258 by Moritz Holtz Committed by Christopher Spinrath

screencap-skript is now aware of multiple X Sessions

now $DISPLAY is used instead of :0.0
parent 82c92f40
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment