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
......@@ -79,6 +79,6 @@ else
exit 1
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"
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 to comment